aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/_common.py
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.com>2023-10-21 04:35:55 +0300
committersnermolaev <snermolaev@yandex-team.com>2023-10-21 05:14:46 +0300
commit61e65e86eb9daac7be0a0d3dbca1686fbfb3dcae (patch)
treedd92d550d5798346a60563cfb2b36c2cb9f81e39 /build/plugins/_common.py
parent3223732c2dd456d88d3d71cc498ead9bce2ec185 (diff)
downloadydb-61e65e86eb9daac7be0a0d3dbca1686fbfb3dcae.tar.gz
cleanup plugins
Diffstat (limited to 'build/plugins/_common.py')
-rw-r--r--build/plugins/_common.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/build/plugins/_common.py b/build/plugins/_common.py
index 436bed4e0b..9ac1d580d0 100644
--- a/build/plugins/_common.py
+++ b/build/plugins/_common.py
@@ -30,24 +30,6 @@ def listid(items):
return pathid(str(sorted(items)))
-def unpair(lst):
- for x, y in lst:
- yield x
- yield y
-
-
-def iterpair(lst):
- y = None
-
- for x in lst:
- if y:
- yield (y, x)
-
- y = None
- else:
- y = x
-
-
def stripext(fname):
return fname[: fname.rfind('.')]
@@ -127,10 +109,6 @@ 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 get(fun, num):
return fun()[num][0]
@@ -193,11 +171,6 @@ def filter_out_by_keyword(test_data, keyword):
return list(_iterate())
-def generate_chunks(lst, chunk_size):
- for i in xrange(0, len(lst), chunk_size):
- yield lst[i : (i + chunk_size)]
-
-
def strip_roots(path):
for prefix in ["$B/", "$S/"]:
if path.startswith(prefix):