[Python-checkins] r59875 - tracker/roundup-src/roundup/roundupdb.py
martin.v.loewis
python-checkins at python.org
Wed Jan 9 19:51:07 CET 2008
Author: martin.v.loewis
Date: Wed Jan 9 19:51:07 2008
New Revision: 59875
Modified:
tracker/roundup-src/roundup/roundupdb.py
Log:
Only point In-Reply-To to the first message if that
actually has a messageid.
Modified: tracker/roundup-src/roundup/roundupdb.py
==============================================================================
--- tracker/roundup-src/roundup/roundupdb.py (original)
+++ tracker/roundup-src/roundup/roundupdb.py Wed Jan 9 19:51:07 2008
@@ -425,7 +425,8 @@
# Assume messages are sorted by increasing message number here
if msgs[0] != nodeid:
inreplyto = messages.get(msgs[0], 'messageid')
- writer.addheader('In-Reply-To', inreplyto)
+ if inreplyto:
+ writer.addheader('In-Reply-To', inreplyto)
# end additional headers
# attach files
More information about the Python-checkins
mailing list