diff options
author | Nikita Slyusarev <nslus@yandex-team.com> | 2022-02-10 16:46:52 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:52 +0300 |
commit | cd77cecfc03a3eaf87816af28a33067c4f0cdb59 (patch) | |
tree | 1308e0bae862d52e0020d881fe758080437fe389 /build/plugins | |
parent | cdae02d225fb5b3afbb28990e79a7ac6c9125327 (diff) | |
download | ydb-cd77cecfc03a3eaf87816af28a33067c4f0cdb59.tar.gz |
Restoring authorship annotation for Nikita Slyusarev <nslus@yandex-team.com>. Commit 1 of 2.
Diffstat (limited to 'build/plugins')
-rw-r--r-- | build/plugins/_common.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/build/plugins/_common.py b/build/plugins/_common.py index 2f831a94db..d74e2387de 100644 --- a/build/plugins/_common.py +++ b/build/plugins/_common.py @@ -52,8 +52,8 @@ def stripext(fname): def tobuilddir(fname): - if not fname: - return '$B' + if not fname: + return '$B' if fname.startswith('$S'): return fname.replace('$S', '$B', 1) else: @@ -113,14 +113,14 @@ def resolve_to_abs_path(path, source_root, build_root): if path.startswith('$B') and build_root is not None: return path.replace('$B', build_root, 1) return path - - + + def resolve_to_ymake_path(path): return resolve_to_abs_path(path, '${ARCADIA_ROOT}', '${ARCADIA_BUILD_ROOT}') -def join_intl_paths(*args): - return '/'.join(args) +def join_intl_paths(*args): + return '/'.join(args) def get(fun, num): |