aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-06-21 12:02:10 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-06-21 12:02:10 +0300
commit510a24d09da65ac274206fe9d6544bc722c18a56 (patch)
treec24e5f2d237266122ac8843aaa462b2325271974 /build
parentd49283ffe563f4a1f20deef863a18f8de6a275e8 (diff)
downloadydb-510a24d09da65ac274206fe9d6544bc722c18a56.tar.gz
intermediate changes
ref:c7577ae41288ba1544a9cd1f00cdeff854fe2994
Diffstat (limited to 'build')
-rw-r--r--build/plugins/ytest.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py
index db775d8e5c..39ba91cf4d 100644
--- a/build/plugins/ytest.py
+++ b/build/plugins/ytest.py
@@ -402,16 +402,16 @@ def get_default_tidy_config(unit):
return DEFAULT_TIDY_CONFIG
-oredered_tidy_map = None
+ordered_tidy_map = None
def get_project_tidy_config(unit):
- global oredered_tidy_map
- if oredered_tidy_map is None:
- oredered_tidy_map = reversed(sorted(get_tidy_config_map(unit, PROJECT_TIDY_CONFIG_MAP_PATH).items()))
+ global ordered_tidy_map
+ if ordered_tidy_map is None:
+ ordered_tidy_map = list(reversed(sorted(get_tidy_config_map(unit, PROJECT_TIDY_CONFIG_MAP_PATH).items())))
unit_path = get_norm_unit_path(unit)
- for project_prefix, config_path in oredered_tidy_map:
+ for project_prefix, config_path in ordered_tidy_map:
if unit_path.startswith(project_prefix):
return config_path
else: