From 684a407f978ad56793eeb94230e3a5ad38993146 Mon Sep 17 00:00:00 2001 From: nineven Date: Wed, 9 Mar 2022 22:26:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AE=BE=E5=A4=87=E5=90=8C=E6=AD=A5=E8=AF=A6?= =?UTF-8?q?=E7=BB=86=E6=97=A5=E5=BF=97=E3=80=90=E6=9C=89=E6=97=B6=E5=80=99?= =?UTF-8?q?=E4=BC=9A=E5=88=A0=E9=99=A4=E8=AF=A5=E5=BC=80=E5=8F=91=E8=80=85?= =?UTF-8?q?=E4=B8=8B=E6=89=80=E6=9C=89=E7=AD=BE=E5=90=8D=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=EF=BC=8C=E5=BE=88=E8=AF=A1=E5=BC=82=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_ser/xsign/utils/supersignutils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fir_ser/xsign/utils/supersignutils.py b/fir_ser/xsign/utils/supersignutils.py index 8d0dd2d..a3b5b47 100644 --- a/fir_ser/xsign/utils/supersignutils.py +++ b/fir_ser/xsign/utils/supersignutils.py @@ -1076,13 +1076,15 @@ class IosUtils(object): udid_developer_obj_list = UDIDsyncDeveloper.objects.filter(developerid=developer_obj).values_list('udid') udid_developer_list = [x[0] for x in udid_developer_obj_list if len(x) > 0] udid_result_list = [device.udid for device in result] + udid_enabled_result_list = [device.udid for device in result if device.status == 'ENABLED'] + logger.warning(f"issuer_id:{developer_obj.issuer_id} udid database info: {udid_developer_list}") logger.warning(f"issuer_id:{developer_obj.issuer_id} udid develope info: {udid_result_list}") + logger.warning(f"issuer_id:{developer_obj.issuer_id} udid develope enable info: {udid_enabled_result_list}") will_del_udid_list = list(set(udid_developer_list) - set(udid_result_list)) logger.warning(f"issuer_id:{developer_obj.issuer_id} udidsync will delete: {will_del_udid_list}") - udid_enabled_result_list = [device.udid for device in result if device.status == 'ENABLED'] will_del_disabled_udid_list = list(set(udid_developer_list) - set(udid_enabled_result_list)) logger.warning(f"issuer_id:{developer_obj.issuer_id} delete and disabled: {will_del_disabled_udid_list}")