Mercurial > moin > 1.9
diff MoinMoin/support/werkzeug/templates.py @ 5721:a4a7f275b7b3
werkzeug: Removed a dummy import. Not only is it unnecessary, but also no
longer supported in Python 2.7. This fixes #447 (werkzeug bugtracker).
Note: backported this fix to the werkzeug 0.5.1 we have bundled with MoinMoin.
If you use a werkzeug >= 0.6, it contains this fix already.
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sun, 14 Nov 2010 14:39:07 +0100 |
parents | 246ba4eecab2 |
children | 8de563c487be |
line wrap: on
line diff
--- a/MoinMoin/support/werkzeug/templates.py Sun Oct 24 00:26:04 2010 +0200 +++ b/MoinMoin/support/werkzeug/templates.py Sun Nov 14 14:39:07 2010 +0100 @@ -12,7 +12,6 @@ import re import __builtin__ as builtins from compiler import ast, parse -from compiler.consts import SC_LOCAL, SC_GLOBAL, SC_FREE, SC_CELL from compiler.pycodegen import ModuleCodeGenerator from tokenize import PseudoToken from werkzeug import utils