]> granicus.if.org Git - python/commitdiff
Fix local variable
authorRaymond Hettinger <python@rcn.com>
Sun, 1 Jul 2012 00:10:25 +0000 (17:10 -0700)
committerRaymond Hettinger <python@rcn.com>
Sun, 1 Jul 2012 00:10:25 +0000 (17:10 -0700)
Tools/scripts/pycolorize.py

index 962d390c5322daabf9a29d7dbb71caa62de5086d..6edd223c293bea0f9531c5d6bdc0831c8091e742 100755 (executable)
@@ -76,7 +76,7 @@ default_html = '''\
 
 def build_page(source, html=default_html, css=default_css):
     'Create a complete HTML page with colorized Python source code'
-    css_str = ''.join(['%s %s\n' % item for item in default_css.items()])
+    css_str = ''.join(['%s %s\n' % item for item in css.items()])
     result = colorize(source)
     return html % (css_str, result)