mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fixed some error reporting
This commit is contained in:
parent
14ae0595ba
commit
5693e0e30e
@ -274,7 +274,7 @@ class Debian(callbacks.Privmsg,
|
|||||||
try:
|
try:
|
||||||
fd = webutils.getUrlFd('http://incoming.debian.org/')
|
fd = webutils.getUrlFd('http://incoming.debian.org/')
|
||||||
except webutils.WebError, e:
|
except webutils.WebError, e:
|
||||||
irc.error(e)
|
irc.error(str(e))
|
||||||
return
|
return
|
||||||
for line in fd:
|
for line in fd:
|
||||||
m = self._incomingRe.search(line)
|
m = self._incomingRe.search(line)
|
||||||
@ -313,7 +313,7 @@ class Debian(callbacks.Privmsg,
|
|||||||
fd = webutils.getUrlFd(
|
fd = webutils.getUrlFd(
|
||||||
'http://packages.debian.org/unstable/newpkg_%s' % section)
|
'http://packages.debian.org/unstable/newpkg_%s' % section)
|
||||||
except webutils.WebError, e:
|
except webutils.WebError, e:
|
||||||
irc.error(e)
|
irc.error(str(e))
|
||||||
packages = []
|
packages = []
|
||||||
#self.log.warning(section)
|
#self.log.warning(section)
|
||||||
#self.log.warning(glob)
|
#self.log.warning(glob)
|
||||||
|
Loading…
Reference in New Issue
Block a user