aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.ru>2022-06-10 04:34:47 +0300
committersvidyuk <svidyuk@yandex-team.ru>2022-06-10 04:34:47 +0300
commitf35aa2aefb0a56444fb1de8ccf4cb3da7117c31e (patch)
treecaba4f7f858eda1a7765830fd5d55775313fb57f
parent640db2143c250923fa05209c0f292c2b0481a159 (diff)
downloadydb-f35aa2aefb0a56444fb1de8ccf4cb3da7117c31e.tar.gz
Cut more opensource deps to build/rules
SECTASK-15696 ref:7427a28b164fdc59ac355ab960ce9d40b5f2dff3
-rw-r--r--build/ymake.core.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 1ba0bd2df27..0e9ee8babfb 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -1796,7 +1796,7 @@ module PY2_PROGRAM: _PY2_PROGRAM {
when ($FAIL_PY2 == "yes") {
_OK=no
}
- otherwise {
+ elsewhen ($OPENSOURCE != "yes") {
PEERDIR+=build/rules/py2_deprecation
}
ASSERT(_OK You are using deprecated Python2-only code (PY2_PROGRAM). Please consider rewriting to Python 3.)
@@ -2302,7 +2302,7 @@ module PY2TEST: PYTEST_BIN {
when ($FAIL_PY2 == "yes") {
_OK=no
}
- otherwise {
+ elsewhen ($OPENSOURCE != "yes") {
PEERDIR+=build/rules/py2_deprecation
}
SET(MODULE_LANG PY2)
@@ -4954,7 +4954,7 @@ multimodule SANDBOX_TASK {
when ($FAIL_PY2 == "yes") {
_OK=no
}
- otherwise {
+ elsewhen ($OPENSOURCE != "yes") {
PEERDIR+=build/rules/py2_deprecation
}