Mercurial > p > roundup > code
diff roundup/mailgw.py @ 3811:ccd55dc53410
Make functionality for matching In-Reply-To and Message-Id work...
...even when the issue id differs from the message id..
Improved test.
| author | Erik Forsberg <forsberg@users.sourceforge.net> |
|---|---|
| date | Sun, 21 Jan 2007 18:08:31 +0000 |
| parents | 12fc9a8bd3e6 |
| children | 23470ece29de |
line wrap: on
line diff
--- a/roundup/mailgw.py Sun Jan 21 15:22:02 2007 +0000 +++ b/roundup/mailgw.py Sun Jan 21 18:08:31 2007 +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.181 2007-01-21 15:18:26 forsberg Exp $ +$Id: mailgw.py,v 1.182 2007-01-21 18:08:31 forsberg Exp $ """ __docformat__ = 'restructuredtext' @@ -720,7 +720,7 @@ if nodeid is None and inreplyto: l = self.db.getclass('msg').stringFind(messageid=inreplyto) if l: - nodeid = l[0] + nodeid = cl.filter(None, {'messages':l})[0] # title is optional too title = m.group('title')
