# HG changeset patch # User Thomas Waldmann # Date 1289741947 -3600 # Node ID a4a7f275b7b3c7ddd624ca95751946c42b13af07 # Parent 69668ad0cae7632457751bb032b64d1cf7801ed5 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. diff -r 69668ad0cae7 -r a4a7f275b7b3 MoinMoin/support/werkzeug/templates.py --- 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