Revision: 5353 Author: nicdumz Date: 2008-05-10 23:57:26 +0000 (Sat, 10 May 2008)
Log Message: ----------- typo, sorry :)
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2008-05-10 23:52:52 UTC (rev 5352) +++ trunk/pywikipedia/wikipedia.py 2008-05-10 23:57:26 UTC (rev 5353) @@ -1401,7 +1401,7 @@ # I think the error message title was changed from "Wikimedia Error" # to "Wikipedia has a problem", but I'm not sure. Maybe we could # just check for HTTP Status 500 (Internal Server Error)? - if ("<title>Wikimedia Error</title>" in data or "has a problem</title>" in data) : + if ("<title>Wikimedia Error</title>" in data or "has a problem</title>" in data) \ or response.status == 500: output( u"Wikimedia has technical problems; will retry in %i minute%s."