Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
try to make python3.5 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ifndef012 committed Jul 18, 2020
1 parent 2929dfc commit d4d93c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submarine-sdk/pysubmarine/submarine/utils/fileio.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ def file_info(uri: str) -> fs.FileInfo:
def _parse_uri(uri: str) -> Tuple[fs.FileSystem, str]:
parsed = urlparse(uri)
uri = uri if parsed.scheme else str(
Path(parsed.path).expanduser().resolve())
Path(parsed.path).expanduser().absolute())
filesystem, path = fs.FileSystem.from_uri(uri)
return filesystem, path

0 comments on commit d4d93c4

Please sign in to comment.