|
|
|
@ -195,10 +195,6 @@ class VariableClAutoupdateSet(Variable):
|
|
|
|
|
"""
|
|
|
|
|
type = 'bool'
|
|
|
|
|
|
|
|
|
|
def init(self):
|
|
|
|
|
self.help = _("replace protected configs")
|
|
|
|
|
self.label = _("Replace protected configs")
|
|
|
|
|
|
|
|
|
|
def get(self):
|
|
|
|
|
if self.Get('cl_dispatch_conf') == 'usenew':
|
|
|
|
|
print "ON"
|
|
|
|
@ -219,14 +215,14 @@ class VariableClDispatchConf(Variable):
|
|
|
|
|
|
|
|
|
|
def init(self):
|
|
|
|
|
self.help = "'usenew' - " +_("use new config files") +\
|
|
|
|
|
",\n'skip' - " + _("skip config files dispatching") +\
|
|
|
|
|
",\n'dispatch' - " + _("dispatch config files")
|
|
|
|
|
",\n'skip' - " + _("skip the update config files") +\
|
|
|
|
|
",\n'dispatch' - " + _("manually update config files")
|
|
|
|
|
self.label = _("Update config files method")
|
|
|
|
|
|
|
|
|
|
def choice(self):
|
|
|
|
|
return [("usenew",_("Use new config files")),
|
|
|
|
|
("skip",_("Skip config files dispatching")),
|
|
|
|
|
("dispatch",_("Manual config files dispatching"))]
|
|
|
|
|
("skip",_("Skip the update config files")),
|
|
|
|
|
("dispatch",_("Manually update config files"))]
|
|
|
|
|
|
|
|
|
|
class VariableClWsdl(Variable):
|
|
|
|
|
"""
|
|
|
|
|