r111143 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111142‎ | r111143 | r111144 >
Date:01:20, 10 February 2012
Author:aaron
Status:ok
Tags:
Comment:
Modified paths:
  • /trunk/extensions/SwiftMedia/wmf/rewrite.py (modified) (history)

Diff [purge]

Index: trunk/extensions/SwiftMedia/wmf/rewrite.py
@@ -128,7 +128,7 @@
129129 try:
130130 upcopy = opener.open(reqorig.url)
131131 except urllib2.HTTPError,status:
132 - if status == 404:
 132+ if status.code == 404:
133133 resp = webob.exc.HTTPNotFound('Expected original file not found')
134134 return resp
135135 else:

Sign-offs

UserFlagDate
Nikerabbitinspected09:12, 10 February 2012

Status & tagging log