diff --git a/pym/update/profile.py b/pym/update/profile.py index c0b3192..bd269c3 100644 --- a/pym/update/profile.py +++ b/pym/update/profile.py @@ -19,7 +19,7 @@ import shutil import os from calculate.lib.utils.files import listDirectory, readFile, readLinesFile, \ makeDirectory, removeDir -from calculate.lib.utils.portage import Git +from calculate.lib.utils.git import Git from update import UpdateError from calculate.lib.cl_lang import setLocalTranslate, _ diff --git a/pym/update/variables/update.py b/pym/update/variables/update.py index dbcdf59..1e8a3e5 100644 --- a/pym/update/variables/update.py +++ b/pym/update/variables/update.py @@ -225,14 +225,14 @@ class VariableClUpdateBranchData(TableVariable): Выбор веток репозиториев до которых необходимо обновиться """ opt = ["--branch"] - metavalue = 'BRANCHES' + metavalue = 'REFS' untrusted = True source = ["cl_update_branch_rep", "cl_update_branch_name"] def init(self): self.help = _("set references for repository (REPOSITORY:REF)") - self.label = _("Repositories branches") + self.label = _("Repositories references") def raiseReadonlyIndexError(self, fieldname="", variablename="", value=""): """