Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Signed-off-by: Yee Hing Tong <[email protected]>
  • Loading branch information
wild-endeavor committed Feb 16, 2022
1 parent 5ca8a97 commit aa2c912
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def exists(self, path: str) -> bool:
logger.debug(f"Error in exists checking {path} {oe}")
protocol = FSSpecPersistence._get_protocol(path)
if protocol == "s3":
logger.debug(f"S3 source detected, attempting anonymous S3 exists check")
logger.debug("S3 source detected, attempting anonymous S3 exists check")
kwargs = s3_setup_args()
anonymous_fs = fsspec.filesystem(protocol, anon=True, **kwargs) # type: ignore
return anonymous_fs.exists(path)
Expand All @@ -90,7 +90,7 @@ def get(self, from_path: str, to_path: str, recursive: bool = False):
logger.debug(f"Error in getting {from_path} to {to_path} rec {recursive} {oe}")
protocol = FSSpecPersistence._get_protocol(from_path)
if protocol == "s3":
logger.debug(f"S3 source detected, attempting anonymous S3 access")
logger.debug("S3 source detected, attempting anonymous S3 access")
kwargs = s3_setup_args()
anonymous_fs = fsspec.filesystem(protocol, anon=True, **kwargs) # type: ignore
return anonymous_fs.get(from_path, to_path, recursive=recursive)
Expand Down

0 comments on commit aa2c912

Please sign in to comment.