summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-05-17 20:22:41 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-05-17 20:22:41 -0400
commit408b1d03cf11a9e9ce0855d12193174e520637aa (patch)
treed732ce739a568d1f559230e5ea2dbb543e349868
parent233838bfa07b195e165aeae7e60b6555242e3f29 (diff)
downloadpython-setuptools-bitbucket-408b1d03cf11a9e9ce0855d12193174e520637aa.tar.gz
Actually call close on exit
-rw-r--r--ez_setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ez_setup.py b/ez_setup.py
index 2c433d61..a6c3ef48 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -77,7 +77,7 @@ def get_zip_class():
def __enter__(self):
return self
def __exit__(self, type, value, traceback):
- self.close
+ self.close()
return zipfile.ZipFile if hasattr(zipfile.ZipFile, '__exit__') else \
ContextualZipFile