Revision: 7162 Author: alexsh Date: 2009-08-17 18:02:44 +0000 (Mon, 17 Aug 2009)
Log Message: ----------- Page()._putPage(): fix sysop cookies in getData
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-08-17 17:57:39 UTC (rev 7161) +++ trunk/pywikipedia/wikipedia.py 2009-08-17 18:02:44 UTC (rev 7162) @@ -1531,7 +1531,7 @@ params['nocreate'] = 1 # Submit the prepared information try: - response, data = query.GetData(params, self.site(), back_response = True) + response, data = query.GetData(params, self.site(), sysop=sysop, back_response = True) if query.IsString(data): raise KeyError except httplib.BadStatusLine, line:
pywikipedia-svn@lists.wikimedia.org