From 4cbbb54c9e82e92a8722fecf69e2170e8a6cc5c7 Mon Sep 17 00:00:00 2001 From: Mike Khiretskiy Date: Fri, 3 Oct 2014 11:33:44 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BA=D0=BB?= =?UTF-8?q?=D1=8E=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=BE=D1=84?= =?UTF-8?q?=D0=B8=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/update/update.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pym/update/update.py b/pym/update/update.py index 652fb5f..a4d1da4 100644 --- a/pym/update/update.py +++ b/pym/update/update.py @@ -894,6 +894,9 @@ class Update: profile_dv = dv.Get('cl_update_profile_datavars') try: + if not profile_dv: + raise UpdateError( + _("Failed to use new profile. Try again.")) for var_name in ('cl_update_rep_rev', 'cl_update_rep_path', 'cl_update_rep_url',