diff --git a/pym/builder/variables/profiles.py b/pym/builder/variables/profiles.py index c26c309..ef82b09 100644 --- a/pym/builder/variables/profiles.py +++ b/pym/builder/variables/profiles.py @@ -24,6 +24,7 @@ from calculate.update import profile as update_profile from calculate.lib.cl_lang import setLocalTranslate from calculate.update.variables.update import DataVarsUpdateProfile +from calculate.builder.variables.action import Actions _ = lambda x: x setLocalTranslate('cl_builder3', sys.modules[__name__]) @@ -55,6 +56,14 @@ class VariableClBuilderProfileUrl(update.VariableClUpdateProfileUrl): branch = "builder.cl_builder_profile_branch" storage = "builder.cl_builder_profile_storage" profiles_shortname = 'builder.cl_builder_profile_shortname' + check_action = Actions.ChangeProfile + + @property + def rep_names(self): + dv = self.Get('cl_builder_linux_datavars') + if dv: + return dv.Get('cl_update_rep_name') + return [] class VariableClBuilderProfileBranch(update.VariableClUpdateProfileBranch):