Commits

Thomas Waldmann committed e969c93

remove HTTPException handler for setup_user that is not needed any more for flask >= 0.7

  • Participants
  • Parent commits 7a6b116

Comments (0)

Files changed (1)

File MoinMoin/app.py

     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()