http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10934
Revision: 10934 Author: drtrigon Date: 2013-01-15 21:07:16 +0000 (Tue, 15 Jan 2013) Log Message: ----------- follow-up; to r10930 in order to bug fix
Modified Paths: -------------- trunk/pywikipedia/pywikibot/comms/http.py
Modified: trunk/pywikipedia/pywikibot/comms/http.py =================================================================== --- trunk/pywikipedia/pywikibot/comms/http.py 2013-01-15 18:34:04 UTC (rev 10933) +++ trunk/pywikipedia/pywikibot/comms/http.py 2013-01-15 21:07:16 UTC (rev 10934) @@ -212,7 +212,7 @@ text = unicode(text, charset, errors = 'strict') except UnicodeDecodeError, e: if verbose: - output(u'%s' %e) + pywikibot.output(u'%s' %e) if no_hostname: pywikibot.output(u'ERROR: Invalid characters found on %s, replaced by \ufffd.' % uri) else:
pywikipedia-svn@lists.wikimedia.org