# HG changeset patch # User Sylvain Thénault # Date 1252418327 -7200 # Node ID f87fd632e3f6c78ee107ae1e624ba0dda49ede84 # Parent 169bbf0b8dec51598b3c35c4b5d4af13112cd8ea missing exception diff -r 169bbf0b8dec -r f87fd632e3f6 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"""