wsgi/handler.py
changeset 8695 358d8bed9626
parent 8593 41259e1f9d48
child 9030 c1d5e8ca15ea
child 9287 e70c8c70e344
--- a/wsgi/handler.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/wsgi/handler.py	Thu Feb 14 15:38:25 2013 +0100
@@ -118,7 +118,7 @@
         try:
             path = req.path
             result = self.appli.handle_request(req, path)
-        except DirectResponse, ex:
+        except DirectResponse as ex:
             return ex.response
         return WSGIResponse(req.status_out, req, result)