Mercurial > p > roundup > code
changeset 3958:642201ee1d75
paranoia from Toby Dickenson
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 08 Jan 2008 20:58:31 +0000 |
| parents | 76ee5c3d0ced |
| children | f764931f2c67 |
| files | roundup/roundupdb.py |
| diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/roundupdb.py Tue Jan 08 20:56:23 2008 +0000 +++ b/roundup/roundupdb.py Tue Jan 08 20:58:31 2008 +0000 @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundupdb.py,v 1.137 2008-01-08 20:56:23 richard Exp $ +# $Id: roundupdb.py,v 1.138 2008-01-08 20:58:31 richard Exp $ """Extending hyperdb with types specific to issue-tracking. """ @@ -424,7 +424,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) # attach files if message_files:
