Добавлена блокировка одновременного выполнения -1 и --keep-tree

parent 53908f3804
commit bd9372fe5f

@ -1276,6 +1276,13 @@ class VariableClBuilderKeepTreeSet(Variable):
self.help = _("keep portage tree in image")
self.label = _("Keep portage tree")
def check(self, value):
if (not self.isTrue(value) and
self.GetBool('update.cl_update_onedepth_set')):
raise VariableError(
_("The removing portage tree is uncompatible with"
" the clearing portage history"))
class VariableClBuilderSquashExclude(ReadonlyVariable):
"""

Loading…
Cancel
Save