From 5693e0e30ea01e18eacdb6e03dde6a84d31422d1 Mon Sep 17 00:00:00 2001 From: James Vega Date: Sun, 6 Jun 2004 21:18:18 +0000 Subject: [PATCH] Fixed some error reporting --- plugins/Debian.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Debian.py b/plugins/Debian.py index 4223798a3..39f346ecb 100644 --- a/plugins/Debian.py +++ b/plugins/Debian.py @@ -274,7 +274,7 @@ class Debian(callbacks.Privmsg, try: fd = webutils.getUrlFd('http://incoming.debian.org/') except webutils.WebError, e: - irc.error(e) + irc.error(str(e)) return for line in fd: m = self._incomingRe.search(line) @@ -313,7 +313,7 @@ class Debian(callbacks.Privmsg, fd = webutils.getUrlFd( 'http://packages.debian.org/unstable/newpkg_%s' % section) except webutils.WebError, e: - irc.error(e) + irc.error(str(e)) packages = [] #self.log.warning(section) #self.log.warning(glob)