reportlab/graphics/samples/runall.py
changeset 1907 12364c11185d
parent 1905 c4888fcec7b6
child 2200 be0cfccc662a
--- a/reportlab/graphics/samples/runall.py	Thu Apr 17 13:25:16 2003 +0000
+++ b/reportlab/graphics/samples/runall.py	Thu Apr 17 13:28:16 2003 +0000
@@ -29,11 +29,11 @@
         if c != None:
             print c.__name__
             try:
-                for f in formats:
-                    if f:
-                        c().save(formats=[f],outDir='.',fnRoot=c.__name__)
+                for fmt in formats:
+                    if fmt:
+                        c().save(formats=[fmt],outDir='.',fnRoot=c.__name__)
                         if VERBOSE:
-                            print "  %s.%s" % (c.__name__, f)
+                            print "  %s.%s" % (c.__name__, fmt)
             except:
                 print "  COULDN'T CREATE '%s.%s'!" % (c.__name__, format)