Handled Windows' timeout number on socket.error.

This commit is contained in:
Jeremy Fincher 2003-11-22 03:57:38 +00:00
parent 0b9d7bd0bb
commit b1f424d1ed
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class Debian(callbacks.Privmsg, plugins.PeriodicFileDownloader):
irc.error(msg, 'I couldn\'t reach the search page (%s).' % e)
return
except socket.error, e:
if e.args[0] == 110:
if e.args[0] == 110 or e.args[0] == 10060:
irc.error(msg, 'Connection timed out to packages.debian.org.')
return
else: