[Pywikipedia-l] [Pywikipedia-svn] SVN: [6767] trunk/pywikipedia/wikipedia.py

Francesco Cosoleto cosoleto at gmail.com
Thu Apr 30 19:09:35 UTC 2009


nicdumz at 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.

-- 
Francesco Cosoleto

"Pensare di poter perdere è come tradire i propri principi" (Oscar Luigi 
Scalfaro)




More information about the Pywikipedia-l mailing list