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 wrap: on
line diff
--- a/apps/benchmark.py	Sun Sep 21 19:25:14 2008 +0200
+++ b/apps/benchmark.py	Tue Sep 23 11:33:35 2008 +0200
@@ -285,9 +285,10 @@
         mixins.append(ProbabilisticEqualityMixin)
 
 print "Using the base runtime: %s." % base_runtime_class
-print "With the following mixins:"
-for mixin in mixins:
-    print "- %s" % mixin
+if mixins:
+    print "With the following mixins:"
+    for mixin in mixins:
+        print "- %s" % mixin
 
 runtime_class = make_runtime_class(base_runtime_class, mixins)