Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Oct 23, 2024
1 parent a01ffda commit 4ff7afe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fsspec/implementations/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,9 @@ async def _cat_file(self, path, start=None, end=None, **kwargs):
return part_or_url[start:end]
protocol, _ = split_protocol(part_or_url)
try:
return await self.fss[protocol]._cat_file(part_or_url, start=start0, end=end0)
return await self.fss[protocol]._cat_file(
part_or_url, start=start0, end=end0
)
except Exception as e:
raise ReferenceNotReachable(path, part_or_url) from e

Expand Down

0 comments on commit 4ff7afe

Please sign in to comment.