diff MoinMoin/apps/admin/views.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 1a047dcf791c
children 75312c9b94e3
line wrap: on
line diff
--- a/MoinMoin/apps/admin/views.py	Sat Mar 12 15:10:04 2011 +0100
+++ b/MoinMoin/apps/admin/views.py	Sat Mar 12 15:28:21 2011 +0100
@@ -15,7 +15,7 @@
 
 from flask import request, url_for, flash, redirect, abort
 from flask import current_app as app
-from flask import flaskg
+from flask import g as flaskg
 
 from MoinMoin.i18n import _, L_, N_
 from MoinMoin.themes import render_template