diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-17 20:22:41 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-17 20:22:41 -0400 |
commit | 408b1d03cf11a9e9ce0855d12193174e520637aa (patch) | |
tree | d732ce739a568d1f559230e5ea2dbb543e349868 | |
parent | 233838bfa07b195e165aeae7e60b6555242e3f29 (diff) | |
download | python-setuptools-bitbucket-408b1d03cf11a9e9ce0855d12193174e520637aa.tar.gz |
Actually call close on exit
-rw-r--r-- | ez_setup.py | 2 |
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 |