Got rid of another urlopen call

This commit is contained in:
James Vega 2003-12-09 14:52:32 +00:00
parent 05238bfcc6
commit 76e20b9c72

View File

@ -434,7 +434,7 @@ class Http(callbacks.Privmsg):
url = '%s/pks/lookup?op=index&search=%s' % (host, urlClean) url = '%s/pks/lookup?op=index&search=%s' % (host, urlClean)
try: try:
L = [] L = []
fd = urllib2.urlopen(url) fd = webutils.getUrlFd(url)
for line in iter(fd.next, ''): for line in iter(fd.next, ''):
info = self._pgpkeyre.search(line) info = self._pgpkeyre.search(line)
if info: if info: