Revision: 7613 Author: xqt Date: 2009-11-09 12:44:56 +0000 (Mon, 09 Nov 2009)
Log Message: ----------- temporary bugfix for #2894235
Modified Paths: -------------- trunk/pywikipedia/login.py
Modified: trunk/pywikipedia/login.py =================================================================== --- trunk/pywikipedia/login.py 2009-11-09 12:22:38 UTC (rev 7612) +++ trunk/pywikipedia/login.py 2009-11-09 12:44:56 UTC (rev 7613) @@ -175,7 +175,7 @@ wikipedia.output(u"self.site.postData(%s, %s)" % (address, self.site.urlEncode(fakepredata))) trans = config.transliterate config.transliterate = False #transliteration breaks for some reason - wikipedia.output(fakedata.decode(self.site.encoding())) + #wikipedia.output(fakedata.decode(self.site.encoding())) config.transliterate = trans fakeresponsemsg = re.sub(r"(session|Token)=..........", r"session=XXXXXXXXXX", data) wikipedia.output(u"%s/%s\n%s" % (response.code, response.msg, fakeresponsemsg))
pywikipedia-svn@lists.wikimedia.org