From be07c37b14f054926d0ce1a76bc70b07d61d4aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Fri, 1 Jul 2016 10:26:20 +0300 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=BE=20=D0=BF=D1=80=D0=B5=D0=BA=D0=BB=D1=8E=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=BE=D1=84=D0=B8=D0=BB?= =?UTF-8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/update/utils/cl_update_profile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pym/update/utils/cl_update_profile.py b/pym/update/utils/cl_update_profile.py index 29f7c56..e9c2765 100644 --- a/pym/update/utils/cl_update_profile.py +++ b/pym/update/utils/cl_update_profile.py @@ -56,6 +56,10 @@ class ClUpdateProfileAction(Action): 'method': 'Update.invalidateVariables("cl_update_profile_storage")', 'depend': Tasks.has('migrate_repository') }, + {'name': 'check_datavars', + 'error': _("Profile not found in master branch"), + 'condition': lambda Get: not Get('update.cl_update_profile_datavars') + }, {'name': 'drop_binhosts', 'method': 'Update.drop_binhosts(update.cl_update_profile_datavars)' },