From 1ee37f9c43d161a511fe4a17944fa558d04e79ac Mon Sep 17 00:00:00 2001 From: root Date: Fri, 18 Nov 2022 14:37:48 +0300 Subject: [PATCH] =?UTF-8?q?=09=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=BE:=20=20=20=20=20=20pym/update/variables/update.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/update/variables/update.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pym/update/variables/update.py b/pym/update/variables/update.py index 152101f..7ae6a7e 100644 --- a/pym/update/variables/update.py +++ b/pym/update/variables/update.py @@ -1316,9 +1316,7 @@ class VariableClUpdateProfileSystem(Variable): try: if (not dv.Get('cl_update_rep_name') or not dv.Get('cl_update_rep_url')): - raise VariableError( - _("Repository variables " - "were not configured for the profile")) + return True if not dv.Get('os_linux_name'): raise VariableError("") if repo_name not in list(dv.Get('cl_update_rep_name')):