File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments