diff MoinMoin/app.py @ 109:e4c332436733

remove flask monkeypatch, use 'from flask import g as flaskg'
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 12 Mar 2011 15:28:21 +0100
parents 8a5be4814a48
children 901bd4e1861e
line wrap: on
line diff
--- a/MoinMoin/app.py	Sat Mar 12 15:10:04 2011 +0100
+++ b/MoinMoin/app.py	Sat Mar 12 15:28:21 2011 +0100
@@ -16,8 +16,9 @@
 # "import MoinMoin" from setup.py even before flask, werkzeug, ... is installed.
 from MoinMoin.util import monkeypatch
 
-from flask import Flask, request, session, flaskg
+from flask import Flask, request, session
 from flask import current_app as app
+from flask import g as flaskg
 
 from flaskext.cache import Cache
 from flaskext.themes import setup_themes