diff options
author | spreis <spreis@yandex-team.ru> | 2022-02-10 16:47:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:13 +0300 |
commit | bcd1126cbd5d445cd0665d295198aa39c6ab8cbe (patch) | |
tree | d41d29a041d5733ef148335290dbb817b197d4cd /library/python/fs/__init__.py | |
parent | 986cb5d624f352524bfa0c42c9a7695235cdaa41 (diff) | |
download | ydb-bcd1126cbd5d445cd0665d295198aa39c6ab8cbe.tar.gz |
Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/python/fs/__init__.py')
-rw-r--r-- | library/python/fs/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/python/fs/__init__.py b/library/python/fs/__init__.py index b1b7cde079..cdd2cd28e2 100644 --- a/library/python/fs/__init__.py +++ b/library/python/fs/__init__.py @@ -466,14 +466,14 @@ def copytree3( def walk_relative(path, topdown=True, onerror=None, followlinks=False): for dirpath, dirnames, filenames in os.walk(path, topdown=topdown, onerror=onerror, followlinks=followlinks): yield os.path.relpath(dirpath, path), dirnames, filenames + +def supports_clone(): + if 'darwin' in sys.platform: + import platform -def supports_clone(): - if 'darwin' in sys.platform: - import platform - - return list(map(int, platform.mac_ver()[0].split('.'))) >= [10, 13] - return False + return list(map(int, platform.mac_ver()[0].split('.'))) >= [10, 13] + return False def commonpath(paths): |