Moved a webutils import over to utils.web.

This commit is contained in:
Jeremy Fincher 2005-01-29 19:18:56 +00:00
parent 381a42d863
commit 6fbfa2bc9e

View File

@ -49,7 +49,6 @@ import supybot.utils as utils
import supybot.world as world
from supybot.commands import *
import supybot.ircutils as ircutils
import supybot.webutils as webutils
import supybot.callbacks as callbacks
try:
@ -578,11 +577,11 @@ class PeriodicFileDownloader(object):
self.currentlyDownloading.add(filename)
try:
try:
infd = webutils.getUrlFd(url)
infd = utils.web.getUrlFd(url)
except IOError, e:
self.log.warning('Error downloading %s: %s', url, e)
return
except webutils.WebError, e:
except utils.web.Error, e:
self.log.warning('Error downloading %s: %s', url, e)
return
confDir = conf.supybot.directories.data()