Close the zip archive, flushing any pending physical writes and releasing any resources it's using.
(self)
| 109 | self._zipf = ZipFile(pkg_file, "w", compression=ZIP_DEFLATED) |
| 110 | |
| 111 | def close(self): |
| 112 | """Close the zip archive, flushing any pending physical writes and releasing any |
| 113 | resources it's using.""" |
| 114 | self._zipf.close() |
| 115 | |
| 116 | def write(self, pack_uri, blob): |
| 117 | """Write `blob` to this zip package with the membername corresponding to |