[Pywikipedia-l] SVN: [5695] trunk/pywikipedia/wikipedia.py
russblau at svn.wikimedia.org
russblau at svn.wikimedia.org
Tue Jul 8 21:08:57 UTC 2008
Revision: 5695
Author: russblau
Date: 2008-07-08 21:08:57 +0000 (Tue, 08 Jul 2008)
Log Message:
-----------
fix bug in r5681 (returning new instance instead of calling method)
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2008-07-08 20:42:20 UTC (rev 5694)
+++ trunk/pywikipedia/wikipedia.py 2008-07-08 21:08:57 UTC (rev 5695)
@@ -6423,7 +6423,7 @@
if errcode == 401 or errcode == 404:
raise PageNotFound(u'Page %s could not be retrieved. Check your family file ?' % url)
else:
- return urllib.FancyURLopener(self, url, fp, errcode, errmsg, headers)
+ return urllib.FancyURLopener.http_error_default(self, url, fp, errcode, errmsg, headers)
More information about the Pywikipedia-l
mailing list