nicdumz@svn.wikimedia.org ha scritto:
Revision: 6767 Author: nicdumz Date: 2009-04-30 09:00:50 +0000 (Thu, 30 Apr 2009)
Log Message:
[ 2771272 ] 44 Error Dump Files : print a message on site error, sleep and retry.
Modified Paths:
trunk/pywikipedia/wikipedia.py
[...]
output(u'Remote site has a problem, it probably ' \
'exited our query with an internal Error. ' \
'Sleeping for %d seconds...' % self.sleeptime)
"error". I think it would be preferable to print a more generic message about an invalid/unexpected data received from server.