mail.py
changeset 8695 358d8bed9626
parent 8599 4fabc81cd924
child 8931 4b195bd82e8b
--- a/mail.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/mail.py	Thu Feb 14 15:38:25 2013 +0100
@@ -212,7 +212,7 @@
                 subject = self.subject()
             except SkipEmail:
                 continue
-            except Exception, ex:
+            except Exception as ex:
                 # shouldn't make the whole transaction fail because of rendering
                 # error (unauthorized or such) XXX check it doesn't actually
                 # occurs due to rollback on such error