diff roundup/roundupdb.py @ 537:ad6dbc21a570

[SF#503340] creating issue with [asignedto=p.ohly]
author Richard Jones <richard@users.sourceforge.net>
date Tue, 15 Jan 2002 00:12:40 +0000
parents d17c60d16f7f
children bb5ee2f24ee0
line wrap: on
line diff
--- a/roundup/roundupdb.py	Mon Jan 14 23:39:41 2002 +0000
+++ b/roundup/roundupdb.py	Tue Jan 15 00:12:40 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: roundupdb.py,v 1.40 2002-01-14 22:21:38 richard Exp $
+# $Id: roundupdb.py,v 1.41 2002-01-15 00:12:40 richard Exp $
 
 __doc__ = """
 Extending hyperdb with types specific to issue-tracking.
@@ -461,8 +461,13 @@
 
         # list the values
         m = []
-        for propname, prop in props.items():
+	l = props.items()
+	l.sort()
+        for propname, prop in l:
             value = cl.get(nodeid, propname, None)
+	    # skip boring entries
+	    if not value:
+		continue
             if isinstance(prop, hyperdb.Link):
                 link = self.db.classes[prop.classname]
                 if value:
@@ -561,6 +566,9 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.40  2002/01/14 22:21:38  richard
+# #503353 ] setting properties in initial email
+#
 # Revision 1.39  2002/01/14 02:20:15  richard
 #  . changed all config accesses so they access either the instance or the
 #    config attriubute on the db. This means that all config is obtained from

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