From 736d46cff3af211db1794e82490924a4bef01f16 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 30 Aug 2003 02:35:28 +0000 Subject: [PATCH] Forgot to close the file object from urllib2.urlopen. --- plugins/Http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Http.py b/plugins/Http.py index aa55660b8..c0c9bd75b 100644 --- a/plugins/Http.py +++ b/plugins/Http.py @@ -489,6 +489,7 @@ class Http(callbacks.Privmsg): stable = version.strip() elif 'latest beta' in name: beta = version.strip() + fd.close() irc.reply(msg, 'The latest stable kernel is %s; ' \ 'the latest beta kernel is %s.' % (stable, beta))