изменено: pym/update/variables/update.py

master 3.7.2.45
root 1 year ago
parent d9f6f0f859
commit 1ee37f9c43

@ -1316,9 +1316,7 @@ class VariableClUpdateProfileSystem(Variable):
try: try:
if (not dv.Get('cl_update_rep_name') or if (not dv.Get('cl_update_rep_name') or
not dv.Get('cl_update_rep_url')): not dv.Get('cl_update_rep_url')):
raise VariableError( return True
_("Repository variables "
"were not configured for the profile"))
if not dv.Get('os_linux_name'): if not dv.Get('os_linux_name'):
raise VariableError("") raise VariableError("")
if repo_name not in list(dv.Get('cl_update_rep_name')): if repo_name not in list(dv.Get('cl_update_rep_name')):

Loading…
Cancel
Save