Browse Source

English update

tags/3.5.0
parent
commit
5dab34aa14
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      pym/update/utils/cl_update_profile.py
  2. +2
    -1
      pym/update/variables/update.py

+ 1
- 1
pym/update/utils/cl_update_profile.py View File

@@ -57,7 +57,7 @@ class ClUpdateProfileAction(Action):
'depend': Tasks.has('migrate_repository')
},
{'name': 'check_datavars',
'error': _("Profile not found in master branch"),
'error': _("Profile not found in master"),
'condition': lambda Get: not Get('update.cl_update_profile_datavars')
},
{'name': 'drop_binhosts',


+ 2
- 1
pym/update/variables/update.py View File

@@ -1021,7 +1021,8 @@ class VariableClUpdateProfileUrl(Variable):
if (repo_name in self.rep_names and
self.Get('cl_action') == self.check_action):
raise CriticalError(
_("You need update repositories before change profile"))
_("You need to update the repositories before "
"you change the profile"))
git = Git()
return git.get_url(profile, "origin") or self.default_url
except CriticalError as e:


Loading…
Cancel
Save