> Here's the "import" section of my
> MoinMoin/support/werkzeug/templates.py:
> 
> 
> import sys
> 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
> from werkzeug._internal import _decode_unicode
> 
> If I delete the one line I have commented out above, is that all
> that's necessary?

Well, yes, you can remove it.
Just commenting the line of course also makes it work.

The constants aren't used. For py 2.6, the import works, because
compiler.consts has those constants, for py 2.7 it fails, because they
are not there any more.



------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to