viff

changeset 986:6899c91c1372

Only list mixins if there are any.
author Martin Geisler <mg@daimi.au.dk>
date Tue, 23 Sep 2008 11:33:35 +0200
parents 7cf3e950211d
children 909c5df8e5a1
files apps/benchmark.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/apps/benchmark.py	Sun Sep 21 19:25:14 2008 +0200
     1.2 +++ b/apps/benchmark.py	Tue Sep 23 11:33:35 2008 +0200
     1.3 @@ -285,9 +285,10 @@
     1.4          mixins.append(ProbabilisticEqualityMixin)
     1.5  
     1.6  print "Using the base runtime: %s." % base_runtime_class
     1.7 -print "With the following mixins:"
     1.8 -for mixin in mixins:
     1.9 -    print "- %s" % mixin
    1.10 +if mixins:
    1.11 +    print "With the following mixins:"
    1.12 +    for mixin in mixins:
    1.13 +        print "- %s" % mixin
    1.14  
    1.15  runtime_class = make_runtime_class(base_runtime_class, mixins)
    1.16