mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Caught the right error.
This commit is contained in:
parent
dd9bd35fc2
commit
0b90d80fee
@ -35,6 +35,7 @@ Accesses Sourceforge.net for various things
|
||||
|
||||
import re
|
||||
import sets
|
||||
import socket
|
||||
import urllib2
|
||||
|
||||
from itertools import ifilter, imap
|
||||
@ -314,7 +315,7 @@ class Sourceforge(callbacks.PrivmsgCommandAndRegexp, plugins.Configurable):
|
||||
ircutils.bold(num), '; '.join(resp)), prefixName = False)
|
||||
except urllib2.HTTPError, e:
|
||||
debug.msg(e.msg())
|
||||
except error, e:
|
||||
except socket.error, e:
|
||||
debug.msg(e.msg())
|
||||
sfSnarfer = privmsgs.urlSnarfer(sfSnarfer)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user