etwist/server.py
changeset 8695 358d8bed9626
parent 8694 d901c36bcfce
child 8703 db3164d09765
--- a/etwist/server.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/etwist/server.py	Thu Feb 14 15:38:25 2013 +0100
@@ -169,7 +169,7 @@
         try:
             ### Try to generate the actual request content
             content = self.appli.handle_request(req, path)
-        except DirectResponse, ex:
+        except DirectResponse as ex:
             return ex.response
         # at last: create twisted object
         return HTTPResponse(code    = req.status_out,