From fc0315cd7d54122c1c7b4ae8325f4f8b55117200 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, 5 Mar 2021 16:45:09 +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=20=D1=81=D0=B1=D1=80=D0=BE=D1=81=20=D0=BC=D0=B0?= =?UTF-8?q?=D1=80=D0=BA=D0=B5=D1=80=D0=B0=20=D0=BD=D0=B0=D0=BB=D0=B8=D1=87?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/update/utils/cl_update.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pym/update/utils/cl_update.py b/pym/update/utils/cl_update.py index 05304ee..53fc8af 100644 --- a/pym/update/utils/cl_update.py +++ b/pym/update/utils/cl_update.py @@ -369,8 +369,10 @@ class ClUpdateAction(Action): }, ] }, - {'name': 'update:set_upto_date_cache', - 'method': 'Update.setUpToDateCache()' + {'name': 'set_upto_date_cache', + 'method': 'Update.setUpToDateCache()', + 'condition': lambda Get: Get('cl_update_sync_only_set') == 'off' and \ + Get('cl_update_pretend_set') == 'off' } ]