changeset 5537:8ee65df9cbe9

fix werkzeug imports (always import from werkzeug, except if documented otherwise)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 16 Feb 2010 20:33:14 +0100
parents 01dbe5f901e4
children bdf396ab799d
files MoinMoin/auth/openidrp.py MoinMoin/converter/text_html_text_moin_wiki.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/auth/openidrp.py	Sun Feb 14 21:29:59 2010 +0100
+++ b/MoinMoin/auth/openidrp.py	Tue Feb 16 20:33:14 2010 +0100
@@ -18,7 +18,7 @@
 from MoinMoin.auth import CancelLogin, ContinueLogin
 from MoinMoin.auth import MultistageFormLogin, MultistageRedirectLogin
 from MoinMoin.auth import get_multistage_continuation_url
-from werkzeug.utils import url_encode
+from werkzeug import url_encode
 
 class OpenIDAuth(BaseAuth):
     login_inputs = ['openid_identifier']
--- a/MoinMoin/converter/text_html_text_moin_wiki.py	Sun Feb 14 21:29:59 2010 +0100
+++ b/MoinMoin/converter/text_html_text_moin_wiki.py	Tue Feb 16 20:33:14 2010 +0100
@@ -13,7 +13,7 @@
 
 from MoinMoin import config, wikiutil
 from MoinMoin.error import ConvertError
-from werkzeug.utils import url_decode
+from werkzeug import url_decode
 from MoinMoin.parser.text_moin_wiki import Parser as WikiParser
 interwiki_re = re.compile(WikiParser.interwiki_rule, re.VERBOSE|re.UNICODE)