missing exception stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 08 Sep 2009 15:58:47 +0200
branchstable
changeset 3114 f87fd632e3f6
parent 3113 169bbf0b8dec
child 3120 57ceabc6dfbc
child 3124 c929360212ca
missing exception
common/mail.py
--- a/common/mail.py	Tue Sep 08 15:58:40 2009 +0200
+++ b/common/mail.py	Tue Sep 08 15:58:47 2009 +0200
@@ -240,3 +240,7 @@
         raise NotImplementedError
 
     send = send_now
+
+
+class SkipEmail(Exception):
+    """raise this if you decide to skip an email during its generation"""