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 | 365ca3bd6b4353a8caec406bc2aaec73650ec554 (patch) | |
| tree | 548b0c68df1e32bd1da64c450bb30a67c5b1a661 /ez_setup.py | |
| parent | 469c889e37ef184a78fb7b58505858e5ceea0f37 (diff) | |
| download | python-setuptools-git-365ca3bd6b4353a8caec406bc2aaec73650ec554.tar.gz | |
Actually call close on exit
Diffstat (limited to 'ez_setup.py')
| -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 |
