|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: roundupdb.py,v 1.41 2002-01-15 00:12:40 richard Exp $ |
| 18 | +# $Id: roundupdb.py,v 1.42 2002-01-21 09:55:14 rochecompaan Exp $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | Extending hyperdb with types specific to issue-tracking. |
@@ -461,13 +461,13 @@ def generateCreateNote(self, nodeid): |
461 | 461 |
|
462 | 462 | # list the values |
463 | 463 | m = [] |
464 | | - l = props.items() |
465 | | - l.sort() |
| 464 | + l = props.items() |
| 465 | + l.sort() |
466 | 466 | for propname, prop in l: |
467 | 467 | value = cl.get(nodeid, propname, None) |
468 | | - # skip boring entries |
469 | | - if not value: |
470 | | - continue |
| 468 | + # skip boring entries |
| 469 | + if not value: |
| 470 | + continue |
471 | 471 | if isinstance(prop, hyperdb.Link): |
472 | 472 | link = self.db.classes[prop.classname] |
473 | 473 | if value: |
@@ -514,7 +514,9 @@ def generateChangeNote(self, nodeid, oldvalues): |
514 | 514 |
|
515 | 515 | # list the changes |
516 | 516 | m = [] |
517 | | - for propname, oldvalue in changed.items(): |
| 517 | + l = changed.items() |
| 518 | + l.sort() |
| 519 | + for propname, oldvalue in l: |
518 | 520 | prop = cl.properties[propname] |
519 | 521 | value = cl.get(nodeid, propname, None) |
520 | 522 | if isinstance(prop, hyperdb.Link): |
@@ -566,6 +568,9 @@ def generateChangeNote(self, nodeid, oldvalues): |
566 | 568 |
|
567 | 569 | # |
568 | 570 | # $Log: not supported by cvs2svn $ |
| 571 | +# Revision 1.41 2002/01/15 00:12:40 richard |
| 572 | +# #503340 ] creating issue with [asignedto=p.ohly] |
| 573 | +# |
569 | 574 | # Revision 1.40 2002/01/14 22:21:38 richard |
570 | 575 | # #503353 ] setting properties in initial email |
571 | 576 | # |
|
0 commit comments