Commits

John Kristensen committed 838e0e0 Draft

Incorrect 'Created' value in round-reminder script (issue2550769)

Comments (0)

Files changed (1)

scripts/roundup-reminder

             print >>body, '    ', db.priority.get(priority,'name')
         # pretty creation
         creation = (creation_date - date.Date('.')).pretty()
-        if creation is None:
-            creation = creation_date.pretty()
         activity = (activity_date - date.Date('.')).pretty()
         title = db.issue.get(issue_id, 'title')
         if len(title) > 42:
         if (priority != old_priority):
            old_priority = priority
            print >>body, '<tr><td>-></td><td>-></td><td>-></td><td><b>%s</b></td></tr>'%db.priority.get(priority,'name')
-        creation = (date.Date('.') - creation_date).pretty()
-        if creation is None:
-            creation = (creation_date - date.Date('.')).pretty()
+        creation = (creation_date - date.Date('.')).pretty()
         title = db.issue.get(issue_id, 'title')
         issue_id = '<a href="%sissue%s">%s</a>'%(db.config.TRACKER_WEB,
             issue_id, issue_id)