Revision: 6820 Author: nicdumz Date: 2009-05-04 16:33:49 +0000 (Mon, 04 May 2009)
Log Message: ----------- Updating message when XML is incomplete, per http://lists.wikimedia.org/pipermail/pywikipedia-l/2009-May/005845.html
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-05-04 15:54:19 UTC (rev 6819) +++ trunk/pywikipedia/wikipedia.py 2009-05-04 16:33:49 UTC (rev 6820) @@ -2977,8 +2977,7 @@ elif "</mediawiki>" not in data[-20:]: # HTML error Page got thrown because of an internal # error when fetching a revision. - output(u'Remote site has a problem, it probably ' \ - 'exited our query with an internal Error. ' \ + output(u'Received incomplete XML data. ' \ 'Sleeping for %d seconds...' % self.sleeptime) self.sleep() elif "<siteinfo>" not in data: # This probably means we got a 'temporary unaivalable'
pywikipedia-svn@lists.wikimedia.org