diff MoinMoin/app.py @ 135:75312c9b94e3

use except...as syntax, use raise Exception(...) syntax, fix some imports
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 20 Mar 2011 02:31:24 +0100
parents 901bd4e1861e
children 9cc75ad9d6d1
line wrap: on
line diff
--- a/MoinMoin/app.py	Sun Mar 20 00:00:44 2011 +0100
+++ b/MoinMoin/app.py	Sun Mar 20 02:31:24 2011 +0100
@@ -279,7 +279,7 @@
 
         try:
             flaskg.user = setup_user()
-        except HTTPException, e:
+        except HTTPException as e:
             # this makes stuff like abort(redirect(...)) work
             return app.handle_http_exception(e)