can disable a service from an extra

This commit is contained in:
2021-05-18 18:32:01 +02:00
parent ddf33faf91
commit ed1ee9e8a6
8 changed files with 74 additions and 0 deletions

View File

@ -174,6 +174,7 @@ class Path:
)
namespace = dico['variableobj'].namespace
if namespace not in [self.variable_namespace, 'services'] and \
current_namespace != 'services' and \
current_namespace != namespace:
msg = _(f'A variable located in the "{namespace}" namespace shall not be used '
f'in the "{current_namespace}" namespace')