changeset 267:e969c9318772

remove HTTPException handler for setup_user that is not needed any more for flask >= 0.7
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 02 Jul 2011 22:43:20 +0200
parents 7a6b116afa20
children 58b9f645746f
files MoinMoin/app.py
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/app.py	Sat Jul 02 20:18:34 2011 +0200
+++ b/MoinMoin/app.py	Sat Jul 02 22:43:20 2011 +0200
@@ -269,11 +269,7 @@
     try:
         flaskg.unprotected_storage = app.unprotected_storage
 
-        try:
-            flaskg.user = setup_user()
-        except HTTPException as e:
-            # this makes stuff like abort(redirect(...)) work
-            return app.handle_http_exception(e)
+        flaskg.user = setup_user()
 
         flaskg.dicts = app.cfg.dicts()
         flaskg.groups = app.cfg.groups()