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

develop 3.4.0_alpha2
Mike Khiretskiy 9 yıl önce
ebeveyn a801ce6dbf
işleme 301c7759bf

@ -53,9 +53,14 @@ class VariableAcUpdateSync(ReadonlyVariable):
return self.Get('cl_update_world')
return ""
class VariableClUpdateWorldDefault(Variable):
"""
Ad-hoc
"""
value = "update"
class VariableClUpdateWorld(Variable):
type = "choice"
value = "update"
opt = ["--world"]
syntax = "--{choice}-world"
metavalue = "MODE"
@ -66,6 +71,9 @@ class VariableClUpdateWorld(Variable):
",\n'update' - " + _("update the system packages list"))
self.label = _("System packages list")
def get(self):
return self.Get('cl_update_world_default')
def choice(self):
return [("rebuild", _("Rebuild")),
("merge", _("Merge")),

Yükleniyor…
İptal
Kaydet