blob: 500e7dcd885719b9218439a1377285f6c056a6c7 (
plain) (
blame)
1
2
3
4
5
6
|
from _common import rootrel_arc_src
def oncheck_allowed_path(unit, *args):
module_path = rootrel_arc_src(unit.path(), unit)
if not (module_path.startswith("junk") or module_path.startswith("base_layers")):
unit.message(["error", "Cannot create container layer in this directory. See https://st.yandex-team.ru/DTCC-1123"])
|