Forgot to close the file object from urllib2.urlopen.

This commit is contained in:
Jeremy Fincher 2003-08-30 02:35:28 +00:00
parent 7911d0f0a3
commit 736d46cff3

View File

@ -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))