Mercurial > p > roundup > code
diff roundup/mailgw.py @ 3964:22339538cf10
Handle Reject in mailgw final set/create [SF#1826425]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 07 Feb 2008 03:33:31 +0000 |
| parents | 81531a2aed59 |
| children | 7dc74da6c3e8 |
line wrap: on
line diff
--- a/roundup/mailgw.py Thu Feb 07 03:28:34 2008 +0000 +++ b/roundup/mailgw.py Thu Feb 07 03:33:31 2008 +0000 @@ -73,7 +73,7 @@ an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.194 2007-11-19 20:45:57 richard Exp $ +$Id: mailgw.py,v 1.195 2008-02-07 03:33:31 richard Exp $ """ __docformat__ = 'restructuredtext' @@ -1346,7 +1346,7 @@ cl.set(nodeid, **props) else: nodeid = cl.create(**props) - except (TypeError, IndexError, ValueError), message: + except (TypeError, IndexError, ValueError, exceptions.Reject), message: raise MailUsageError, _(""" There was a problem with the message you sent: %(message)s
