[Pywikipedia-l] SVN: [4885] trunk/pywikipedia/commonsdelinker/image_replacer.py
btongminh at svn.wikimedia.org
btongminh at svn.wikimedia.org
Mon Jan 14 14:12:46 UTC 2008
Revision: 4885
Author: btongminh
Date: 2008-01-14 14:12:46 +0000 (Mon, 14 Jan 2008)
Log Message:
-----------
Don't assume persistent http
Modified Paths:
--------------
trunk/pywikipedia/commonsdelinker/image_replacer.py
Modified: trunk/pywikipedia/commonsdelinker/image_replacer.py
===================================================================
--- trunk/pywikipedia/commonsdelinker/image_replacer.py 2008-01-14 12:44:56 UTC (rev 4884)
+++ trunk/pywikipedia/commonsdelinker/image_replacer.py 2008-01-14 14:12:46 UTC (rev 4885)
@@ -90,8 +90,8 @@
# Network error, not critical
output(u'Warning! Unable to read replacement log.', False)
output('%s: %s' % (e.__class__.__name__, str(e)), False)
- self.site.conn.close()
- self.site.conn.connect()
+ #self.site.conn.close()
+ #self.site.conn.connect()
return time.sleep(self.config['timeout'])
if '{{stop}}' in text.lower():
More information about the Pywikipedia-l
mailing list