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

russblau at svn.wikimedia.org russblau at svn.wikimedia.org
Thu Jan 24 22:36:12 UTC 2008


Revision: 4936
Author:   russblau
Date:     2008-01-24 22:36:12 +0000 (Thu, 24 Jan 2008)

Log Message:
-----------
Fix (at least for now) for bug #1878986

Modified Paths:
--------------
    trunk/pywikipedia/wikipedia.py

Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py	2008-01-24 18:05:50 UTC (rev 4935)
+++ trunk/pywikipedia/wikipedia.py	2008-01-24 22:36:12 UTC (rev 4936)
@@ -113,6 +113,7 @@
 
 import os, sys
 import httplib, socket, urllib
+socket.setdefaulttimeout(120)  # set a pretty long timeout just in case...
 import traceback
 import time, threading, Queue
 import math





More information about the Pywikipedia-l mailing list