[Python-checkins] cpython: Fix local variable
raymond.hettinger
python-checkins at python.org
Sun Jul 1 02:10:35 CEST 2012
http://hg.python.org/cpython/rev/81bbd52695e0
changeset: 77901:81bbd52695e0
user: Raymond Hettinger <python at rcn.com>
date: Sat Jun 30 17:10:25 2012 -0700
summary:
Fix local variable
files:
Tools/scripts/pycolorize.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Tools/scripts/pycolorize.py b/Tools/scripts/pycolorize.py
--- a/Tools/scripts/pycolorize.py
+++ b/Tools/scripts/pycolorize.py
@@ -76,7 +76,7 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list