From 8282d3e847229c2dabf134e7795eac495d8b223b Mon Sep 17 00:00:00 2001 From: James Vega Date: Wed, 21 Jul 2004 01:52:39 +0000 Subject: [PATCH] whitespace and a forgotten conf import --- src/webutils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/webutils.py b/src/webutils.py index 33711a2bf..0d1127455 100644 --- a/src/webutils.py +++ b/src/webutils.py @@ -34,6 +34,7 @@ __revision__ = "$Id$" import fix import re +import conf import socket import urllib2 import urlparse @@ -66,7 +67,7 @@ def strError(e): return FORBIDDEN else: return str(e) - + def getUrlFd(url): """Gets a file-like object for a url.""" try: @@ -84,7 +85,7 @@ def getUrlFd(url): raise WebError, strError(e) except urllib2.HTTPError, e: raise WebError, strError(e) - + def getUrl(url, size=None): """Gets a page. Returns a string that is the page gotten.""" fd = getUrlFd(url)