mail.py
branchstable
changeset 8743 27a83746aebd
parent 8695 358d8bed9626
child 8931 4b195bd82e8b
--- a/mail.py	Tue Mar 19 16:56:46 2013 +0100
+++ b/mail.py	Wed Mar 20 17:40: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