Steve Holden [EMAIL PROTECTED] writes:
Peter Otten wrote:
adrian wrote:
urllib.socket.setdefaulttimeout(self.timeout)
AttributeError: 'module' object has no attribute 'setdefaulttimeout'
socket.setdefaulttimeout() was added in Python 2.3. You need to
upgrade.
Peter
Alternatively
/local/bin/SquidClamAV_Redirector.py, line 145, in
__init__
self.__start_urlhandler__()
File /usr/local/bin/SquidClamAV_Redirector.py, line 454, in
__start_urlhandler__
urllib.socket.setdefaulttimeout(self.timeout)
AttributeError: 'module' object has no attribute 'setdefaulttimeout
adrian wrote:
urllib.socket.setdefaulttimeout(self.timeout)
AttributeError: 'module' object has no attribute 'setdefaulttimeout'
socket.setdefaulttimeout() was added in Python 2.3. You need to upgrade.
Peter
--
http://mail.python.org/mailman/listinfo/python-list
That just means the urllib.socket module doesn't have any function
named setdefaulttimeout in it.
It appears there might be something wrong with your socket module as
mine has it:
py import urllib
py f = urllib.socket.setdefaulttimeout
py f
built-in function setdefaulttimeout
--
Peter Otten wrote:
adrian wrote:
urllib.socket.setdefaulttimeout(self.timeout)
AttributeError: 'module' object has no attribute 'setdefaulttimeout'
socket.setdefaulttimeout() was added in Python 2.3. You need to upgrade.
Peter
Alternatively you might still be ablet o get Tom O'Malley's