diff roundup/roundupdb.py @ 3939:63ab356dfcf9

Fix incorrect labelling of a change as a "new submission".
author Richard Jones <richard@users.sourceforge.net>
date Sun, 04 Nov 2007 05:11:19 +0000
parents 91008ec8f9a0
children 9997b941dd6d
line wrap: on
line diff
--- a/roundup/roundupdb.py	Sat Nov 03 00:56:52 2007 +0000
+++ b/roundup/roundupdb.py	Sun Nov 04 05:11:19 2007 +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.133 2007-09-16 02:45:11 jpend Exp $
+# $Id: roundupdb.py,v 1.134 2007-11-04 06:11:18 richard Exp $
 
 """Extending hyperdb with types specific to issue-tracking.
 """
@@ -304,8 +304,7 @@
 
         # add author information
         if authid and self.db.config.MAIL_ADD_AUTHORINFO:
-            if len(self.get(nodeid,'messages')) == 1:
-                
+            if msgid and len(self.get(nodeid, 'messages')) == 1:
                 m.append(_("New submission from %(authname)s%(authaddr)s:")
                     % locals())
             elif msgid:

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