r109627 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109626‎ | r109627 | r109628 >
Date:16:46, 20 January 2012
Author:demon
Status:ok
Tags:
Comment:
Use time.mktime() per CR on r105499
Modified paths:
  • /trunk/extensions/SwiftMedia/wmf/rewrite.py (modified) (history)

Diff [purge]

Index: trunk/extensions/SwiftMedia/wmf/rewrite.py
@@ -142,7 +142,7 @@
143143 try:
144144 last_modified = time.mktime(uinfo.getdate('Last-Modified'))
145145 except TypeError:
146 - last_modified = time.localtime()
 146+ last_modified = time.mktime(time.localtime())
147147
148148 if self.writethumb:
149149 # Fetch from upload, write into the cluster, and return it

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105499added commented logging method. used bind_port for internal URLs instead of...ben00:26, 8 December 2011

Status & tagging log