Исправление экспертных параметров

develop 3.4.0_alpha2
Mike Hiretsky 9 years ago
parent 8342f4135a
commit d1f71e711f

@ -270,13 +270,18 @@ class VariableClProtectUseSet(ReadonlyVariable):
def get(self):
return "on" if self.Get('cl_human_edit_set') == 'off' else "off"
class VariableClDispatchConfDefault(Variable):
"""
Используется для обхода экспертных параметров
"""
value = "dispatch"
class VariableClDispatchConf(Variable):
"""
"""
type = "choice"
opt = ["--conf"]
value = "dispatch"
syntax = "--{choice}-conf"
metavalue = "METHOD"
@ -286,6 +291,9 @@ class VariableClDispatchConf(Variable):
",\n'dispatch' - " + _("manually update config files")
self.label = _("Method for updating config files")
def get(self):
return self.Get('cl_dispatch_conf_default')
def choice(self):
return [("usenew",_("Use the new config files")),
("skip",_("Skip the update of config files")),

Loading…
Cancel
Save