Skip to content

Commit 625bd8c

Browse files
author
Richard Jones
committed
merge from HEAd
1 parent c470bc6 commit 625bd8c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Fixed:
88
- fix anydbm journal import (sf bug 983166)
99
- handle postgresql bug in SQL generation (sf bug 984591)
1010
- fix dates-from-Dates (sf bug 984604)
11+
- fix messageid generated when msgid is None for send_message (sf bug 987933)
1112

1213

1314
2004-06-24 0.7.5

roundup/roundupdb.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: roundupdb.py,v 1.108 2004-04-20 05:47:33 richard Exp $
18+
# $Id: roundupdb.py,v 1.108.2.1 2004-07-14 01:11:37 richard Exp $
1919

2020
"""Extending hyperdb with types specific to issue-tracking.
2121
"""
@@ -220,7 +220,8 @@ def send_message(self, nodeid, msgid, note, sendto, from_address=None,
220220
messageid = "<%s.%s.%s%s@%s>"%(time.time(), random.random(),
221221
self.classname, nodeid,
222222
self.db.config.MAIL_DOMAIN)
223-
messages.set(msgid, messageid=messageid)
223+
if msgid is not None:
224+
messages.set(msgid, messageid=messageid)
224225

225226
# compose title
226227
cn = self.classname

0 commit comments

Comments
 (0)