Revision: 7420 Author: alexsh Date: 2009-10-10 16:29:36 +0000 (Sat, 10 Oct 2009)
Log Message: ----------- variable typo
Modified Paths: -------------- trunk/pywikipedia/category_redirect.py
Modified: trunk/pywikipedia/category_redirect.py =================================================================== --- trunk/pywikipedia/category_redirect.py 2009-10-10 16:28:34 UTC (rev 7419) +++ trunk/pywikipedia/category_redirect.py 2009-10-10 16:29:36 UTC (rev 7420) @@ -310,8 +310,8 @@ waited = 0 while True: try: - response, result = query.GetData(querydata, self.site, back_response = True) - if response.status != 200: + resp, result = query.GetData(querydata, self.site, back_response = True) + if resp.status != 200: # WARNING: if the server is down, this could # cause an infinite loop wikipedia.output(u"HTTP error %i received; retrying..."
pywikipedia-svn@lists.wikimedia.org