Skip to content

Commit f576397

Browse files
author
Richard Jones
committed
Handle Reject in mailgw final set/create [SF#1826425]
1 parent 33855a7 commit f576397

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Fixed:
2020
- Make user utils JS work with firstname/lastname again (sf #1868323)
2121
- Fix ZRoundup to work with Zope 2.8.5 (sf #1806125)
2222
- Fix race condition for key properties in rdbms backends (sf #1876683)
23+
- Handle Reject in mailgw final set/create (sf #1826425)
2324

2425

2526
2007-11-09 1.4.1

roundup/mailgw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class node. Any parts of other types are each stored in separate files
7373
an exception, the original message is bounced back to the sender with the
7474
explanatory message given in the exception.
7575
76-
$Id: mailgw.py,v 1.194 2007-11-19 20:45:57 richard Exp $
76+
$Id: mailgw.py,v 1.195 2008-02-07 03:33:31 richard Exp $
7777
"""
7878
__docformat__ = 'restructuredtext'
7979

@@ -1346,7 +1346,7 @@ def pgp_role():
13461346
cl.set(nodeid, **props)
13471347
else:
13481348
nodeid = cl.create(**props)
1349-
except (TypeError, IndexError, ValueError), message:
1349+
except (TypeError, IndexError, ValueError, exceptions.Reject), message:
13501350
raise MailUsageError, _("""
13511351
There was a problem with the message you sent:
13521352
%(message)s

0 commit comments

Comments
 (0)