From 5a568706a68e5e3d0755e5be6d29f6c283eae5e6 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Fri, 6 Aug 2010 14:34:47 -0500 Subject: [PATCH] Switch back to using timetuple. Since we no longer have to worry about python 2.4 compat, switch back to better looking timestamps. --- scripts/process-git-requests/process-git-requests | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/process-git-requests/process-git-requests b/scripts/process-git-requests/process-git-requests index 0b79e3e..e3b9abe 100755 --- a/scripts/process-git-requests/process-git-requests +++ b/scripts/process-git-requests/process-git-requests @@ -190,10 +190,7 @@ def display_bug(bug, comments): b.append('Assigned to: %s' % (bug.assigned_to)) for i in comments: b.append('-'*40) - #b.append('Comment %d by %s at %s\n' % (comment, i['author'], time.strftime('%F %T',i['time'].timetuple()))) - #b.append('Comment %d by %s at %04d-%02d-%02d %02d:%02d%02d\n' % ( - b.append('Comment %d by %s at %s\n' % ( - comment, i['author'], i['time'])) + b.append('Comment %d by %s at %s\n' % (comment, i['author'], time.strftime('%F %T',i['time'].timetuple()))) b.append(i['text']) b.append('') comment += 1