revert formatter

pull/11305/head
coletdjnz 1 month ago
parent 5de3062ced
commit 78c09c792d
No known key found for this signature in database
GPG Key ID: 91984263BB39894A

@ -73,11 +73,8 @@ class PluginLoader(importlib.abc.Loader):
def dirs_in_zip(archive):
try:
with ZipFile(archive) as zip_:
return set(
itertools.chain.from_iterable(
Path(file).parents for file in zip_.namelist()
),
)
return set(itertools.chain.from_iterable(
Path(file).parents for file in zip_.namelist()))
except FileNotFoundError:
pass
except Exception as e:

Loading…
Cancel
Save