Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv29111/src/plugins
Modified Files: pymetar.py Log Message: Index: pymetar.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/plugins/pymetar.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pymetar.py 24 Jun 2003 22:48:50 -0000 1.1 --- pymetar.py 22 Oct 2003 20:49:50 -0000 1.2 *************** *** 50,53 **** --- 50,64 ---- Please e-mail bugs to: %s""" % (__version__, __author__) + import sys + if float(sys.version[0:3]) >= 2.3: + import socket + socket.setdefaulttimeout(10) + else: + try: + import timeoutsocket # http://www.timo-tasi.org/python/timeoutsocket.py + timeoutsocket.setDefaultSocketTimeout(10) + except ImportError: + pass + # ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog