Skip to content

Commit d51b826

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent 74d7b94 commit d51b826

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Fixed:
1010
- fix roundup-admin find command handling of Multilinks
1111
- fix some security assertions (sf bug 1085481) (see doc/upgrading.txt for
1212
notes)
13+
- don't set the title to nothing from incoming mail (thanks Bruce Guenter)
1314

1415

1516
2004-10-26 0.7.9

doc/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ Johannes Gijsbers,
8989
Gus Gollings,
9090
Dan Grassi,
9191
Engelbert Gruber,
92+
Bruce Guenter,
9293
Juergen Hermann,
9394
Uwe Hoffmann,
9495
Tobias Hunger,

roundup/mailgw.py

Lines changed: 5 additions & 3 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.149.2.5 2004-11-17 22:10:02 richard Exp $
75+
$Id: mailgw.py,v 1.149.2.6 2005-01-03 02:55:12 richard Exp $
7676
"""
7777
__docformat__ = 'restructuredtext'
7878

@@ -846,8 +846,10 @@ def handle_message(self, message):
846846

847847

848848
# set the issue title to the subject
849-
if properties.has_key('title') and not issue_props.has_key('title'):
850-
issue_props['title'] = title.strip()
849+
title = title.strip()
850+
if (title and properties.has_key('title') and not
851+
issue_props.has_key('title')):
852+
issue_props['title'] = title
851853

852854
#
853855
# handle message-id and in-reply-to

0 commit comments

Comments
 (0)