Commit 365ca3bd authored by Jason R. Coombs's avatar Jason R. Coombs

Actually call close on exit

parent 469c889e
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment