We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22002e4 commit b155426Copy full SHA for b155426
src/zarr/storage/_zip.py
@@ -135,7 +135,7 @@ def _dedup_central_directory(self) -> None:
135
*last* (most recent) entry for every filename so that the on-disk central
136
directory is clean.
137
"""
138
- if not self._zf.mode in ("w", "a", "x"):
+ if self._zf.mode not in ("w", "a", "x"):
139
return
140
seen: set[str] = set()
141
deduped: list[zipfile.ZipInfo] = []
0 commit comments