diff roundup/mailgw.py @ 4405:863ec554525c

new mailgw config option subject_updates_title... ...see discussion http://thread.gmane.org/gmane.comp.bug-tracking.roundup.user/10169
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Wed, 04 Aug 2010 10:01:23 +0000
parents 378fc1ecaaa6
children 9655a1b65974
line wrap: on
line diff
--- a/roundup/mailgw.py	Thu Jul 29 00:40:13 2010 +0000
+++ b/roundup/mailgw.py	Wed Aug 04 10:01:23 2010 +0000
@@ -1230,6 +1230,9 @@
         if (title and properties.has_key('title') and not
                 issue_props.has_key('title')):
             issue_props['title'] = title
+        if (nodeid and properties.has_key('title') and not
+                config['MAILGW_SUBJECT_UPDATES_TITLE']):
+            issue_props['title'] = cl.get(nodeid,'title')
 
         #
         # handle message-id and in-reply-to

Roundup Issue Tracker: http://roundup-tracker.org/