diff -r 86a66cce9566 -r 96d8a56d4ef9 mercurial/httprepo.py --- a/mercurial/httprepo.py Wed Jun 06 20:17:03 2007 +0200 +++ b/mercurial/httprepo.py Wed Jun 06 20:22:52 2007 +0200 @@ -208,7 +208,7 @@ # 1.0 here is the _protocol_ version opener.addheaders = [('User-agent', 'mercurial/proto-1.0')] urllib2.install_opener(opener) - + def __del__(self): if self.handler: self.handler.close_all()