Mercurial > p > roundup > code
diff roundup/mailgw.py @ 3026:35c515c072dd maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 03 Jan 2005 02:59:29 +0000 |
| parents | 98e6219ddb83 |
| children | e1da7b5b04ab |
line wrap: on
line diff
--- a/roundup/mailgw.py Mon Jan 03 02:53:40 2005 +0000 +++ b/roundup/mailgw.py Mon Jan 03 02:59:29 2005 +0000 @@ -72,7 +72,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.159 2004-11-17 22:16:29 richard Exp $ +$Id: mailgw.py,v 1.159.2.1 2005-01-03 02:53:41 richard Exp $ """ __docformat__ = 'restructuredtext' @@ -845,8 +845,10 @@ # set the issue title to the subject - if properties.has_key('title') and not issue_props.has_key('title'): - issue_props['title'] = title.strip() + title = title.strip() + if (title and properties.has_key('title') and not + issue_props.has_key('title')): + issue_props['title'] = title # # handle message-id and in-reply-to
