r9910 pywikipedia - Code Review archive

Repository:pywikipedia
Revision:r9909‎ | r9910 | r9911 >
Date:12:49, 19 February 2012
Author:drtrigon
Status:old
Tags:
Comment:
bug fix; scope has changed, follow-up to r9901 and r9904
Modified paths:
  • /trunk/pywikipedia/pywikibot/comms/http.py (modified) (history)

Diff [purge]

Index: trunk/pywikipedia/pywikibot/comms/http.py
@@ -174,7 +174,7 @@
175175 if m:
176176 charset = m.group(1)
177177 else:
178 - if verbose:
 178+ if pywikibot.verbose:
179179 pywikibot.output(u"WARNING: No character set found.")
180180 # UTF-8 as default
181181 charset = 'utf-8'

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r9901updated analogue to rewrite 'getUrl' moved/splitted to 'pywikibot.comms.http....drtrigon22:44, 16 February 2012
r9904bug fix; scope has changed, thus output was not workingdrtrigon13:29, 17 February 2012

Status & tagging log