Skip to content

Commit

Permalink
Update petl/io/remotes.py
Browse files Browse the repository at this point in the history
your are right thats better

Co-authored-by: mlemainque <[email protected]>
  • Loading branch information
2 people authored and juarezr committed Aug 16, 2023
1 parent 85a6c46 commit 91a85f5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions petl/io/remotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,7 @@ def _register_filesystems(only_available=False):
def _register_filesystems_from(fsspec_registry, only_available):
"""Register each fsspec provider from this registry as remote source."""
for protocol, spec in fsspec_registry.items():
if not isinstance(spec, dict):
continue

missing_deps = "err" in spec
missing_deps = isinstance(spec, dict) and "err" in spec
if missing_deps and only_available:
# this could lead to only buit-in implementations available
# Other Known Implementations are reported with 'err' even even
Expand Down

0 comments on commit 91a85f5

Please sign in to comment.