Revision: 7614 Author: xqt Date: 2009-11-09 12:52:52 +0000 (Mon, 09 Nov 2009)
Log Message: ----------- Bugfix for #2893541
Modified Paths: -------------- trunk/pywikipedia/upload.py
Modified: trunk/pywikipedia/upload.py =================================================================== --- trunk/pywikipedia/upload.py 2009-11-09 12:44:56 UTC (rev 7613) +++ trunk/pywikipedia/upload.py 2009-11-09 12:52:52 UTC (rev 7614) @@ -361,7 +361,7 @@ except: pass wikipedia.output(u'%s\n\n' % returned_html) - wikipedia.output(u'%i %s' % (response.status, response.reason)) + wikipedia.output(u'%i %s' % (response.code, response.reason))
if self.targetSite.mediawiki_message('uploadwarning') in returned_html: answer = wikipedia.inputChoice(u"You have recevied an upload warning message. Ignore?", ['Yes', 'No'], ['y', 'N'], 'N')
pywikipedia-svn@lists.wikimedia.org