Skip to content

Commit f86bbf1

Browse files
committed
Incorrect 'Created' value in round-reminder script (issue2550769)
1 parent 84b64ab commit f86bbf1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/roundup-reminder

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ for user_id in db.user.list():
105105
print >>body, ' ', db.priority.get(priority,'name')
106106
# pretty creation
107107
creation = (creation_date - date.Date('.')).pretty()
108-
if creation is None:
109-
creation = creation_date.pretty()
110108
activity = (activity_date - date.Date('.')).pretty()
111109
title = db.issue.get(issue_id, 'title')
112110
if len(title) > 42:
@@ -143,9 +141,7 @@ and click on "My Issues". Do NOT respond to this message.
143141
if (priority != old_priority):
144142
old_priority = priority
145143
print >>body, '<tr><td>-></td><td>-></td><td>-></td><td><b>%s</b></td></tr>'%db.priority.get(priority,'name')
146-
creation = (date.Date('.') - creation_date).pretty()
147-
if creation is None:
148-
creation = (creation_date - date.Date('.')).pretty()
144+
creation = (creation_date - date.Date('.')).pretty()
149145
title = db.issue.get(issue_id, 'title')
150146
issue_id = '<a href="%sissue%s">%s</a>'%(db.config.TRACKER_WEB,
151147
issue_id, issue_id)

0 commit comments

Comments
 (0)