Fix action variable

master3.1.6
parent 4faa555324
commit ca010ca7d7

@ -24,11 +24,11 @@ setLocalTranslate('cl_update3',sys.modules[__name__])
class VariableAcUpdateSync(ReadonlyVariable):
"""
Action variable which has value "up" for package install and
Action variable which has value "on" for package install and
install this package
"""
def get(self):
action = self.Get("cl_action")
if action in ("sync",):
return "up"
return "on"
return ""

Loading…
Cancel
Save