Skip to content

Commit 04f9a85

Browse files
author
Alexander Smishlajev
committed
fix: [[CVS:1.154]] removed except else clause...
...but didn't change the indent of the contents. as a result, messages were never attached to the issue
1 parent c767e04 commit 04f9a85

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

roundup/mailgw.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class node. Any parts of other types are each stored in separate files
7272
an exception, the original message is bounced back to the sender with the
7373
explanatory message given in the exception.
7474
75-
$Id: mailgw.py,v 1.156 2004-09-29 07:05:57 a1s Exp $
75+
$Id: mailgw.py,v 1.157 2004-09-29 08:30:24 a1s Exp $
7676
"""
7777
__docformat__ = 'restructuredtext'
7878

@@ -915,15 +915,15 @@ def handle_message(self, message):
915915
Mail message was rejected by a detector.
916916
%s
917917
'''%error
918-
# attach the message to the node
919-
if nodeid:
920-
# add the message to the node's list
921-
messages = cl.get(nodeid, 'messages')
922-
messages.append(message_id)
923-
props['messages'] = messages
924-
else:
925-
# pre-load the messages list
926-
props['messages'] = [message_id]
918+
# attach the message to the node
919+
if nodeid:
920+
# add the message to the node's list
921+
messages = cl.get(nodeid, 'messages')
922+
messages.append(message_id)
923+
props['messages'] = messages
924+
else:
925+
# pre-load the messages list
926+
props['messages'] = [message_id]
927927

928928
#
929929
# perform the node change / create

0 commit comments

Comments
 (0)