aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/fs/__init__.py
diff options
context:
space:
mode:
authorspreis <spreis@yandex-team.ru>2022-02-10 16:47:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:13 +0300
commitbcd1126cbd5d445cd0665d295198aa39c6ab8cbe (patch)
treed41d29a041d5733ef148335290dbb817b197d4cd /library/python/fs/__init__.py
parent986cb5d624f352524bfa0c42c9a7695235cdaa41 (diff)
downloadydb-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__.py12
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):