Various python3 modifications.
[wrw.git] / wrw / dispatch.py
index 5a7bda0..b6009af 100644 (file)
@@ -20,7 +20,7 @@ def handle(req, startreq, handler):
             try:
                 resp = handler(req)
                 break
-            except restart, i:
+            except restart as i:
                 handler = i.handle
         req.commit(startreq)
         return resp