mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Got rid of another urlopen call
This commit is contained in:
parent
05238bfcc6
commit
76e20b9c72
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user