From d4d93c4a668045b9b2add6f6d83b0f5105791769 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Sun, 12 Jul 2020 22:57:33 +0800 Subject: [PATCH] try to make python3.5 happy --- submarine-sdk/pysubmarine/submarine/utils/fileio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submarine-sdk/pysubmarine/submarine/utils/fileio.py b/submarine-sdk/pysubmarine/submarine/utils/fileio.py index 6e02243f7d..d4a8196eb7 100644 --- a/submarine-sdk/pysubmarine/submarine/utils/fileio.py +++ b/submarine-sdk/pysubmarine/submarine/utils/fileio.py @@ -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