http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10714
Revision: 10714 Author: drtrigon Date: 2012-11-12 20:30:37 +0000 (Mon, 12 Nov 2012) Log Message: ----------- bug fix; patch to solve bug #3579749 (follow up for r10440, r10711 and r10712)
Modified Paths: -------------- trunk/pywikipedia/pywikibot/comms/http.py
Modified: trunk/pywikipedia/pywikibot/comms/http.py =================================================================== --- trunk/pywikipedia/pywikibot/comms/http.py 2012-11-12 20:27:20 UTC (rev 10713) +++ trunk/pywikipedia/pywikibot/comms/http.py 2012-11-12 20:30:37 UTC (rev 10714) @@ -48,7 +48,7 @@ return lambda *args, **kwds: self._call(name, attr, *args, **kwds) else: # do call to buffer data from parent and return - return self._call(name, attr, *args, **kwds) + return self._call(name, (lambda *args, **kwds: attr))
def _call(self, name, attr, *args, **kwds): if name not in self._buffer: