_exceptions.py
changeset 8695 358d8bed9626
parent 8609 112a04c0473d
child 9175 a7412e884d7b
--- a/_exceptions.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/_exceptions.py	Thu Feb 14 15:38:25 2013 +0100
@@ -100,7 +100,7 @@
             if self.args:
                 return ' '.join(self.args)
             return self.msg
-        except Exception, ex:
+        except Exception as ex:
             return str(ex)
 
 class Forbidden(SecurityError):