Skip to content

Commit ece0f0e

Browse files
committed
Fix: unpack allowed arguments list
1 parent 220c28b commit ece0f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/storage/_fsspec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ async def delete_dir(self, prefix: str) -> None:
275275

276276
# this is probably the same condition as `if self.fs.async_impl`
277277
if hasattr(self.fs, "_rm") and inspect.iscoroutinefunction(self.fs._rm):
278-
with suppress(self.allowed_exceptions):
278+
with suppress(*self.allowed_exceptions):
279279
await self.fs._rm(path_to_delete, recursive=True)
280280
else:
281281
raise NotImplementedError("The store does not support async deletes")

0 commit comments

Comments
 (0)