mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-08-10 20:21:56 +03:00
debug log for rebuild_mandatory_services()
Change-Id: Ie53c84247a9524a81b475b3b02b5330207c15601
This commit is contained in:
@@ -1777,9 +1777,13 @@ class ProfileElementSequence:
|
|||||||
|
|
||||||
hdr_pe = self.get_pe_for_type('header')
|
hdr_pe = self.get_pe_for_type('header')
|
||||||
# patch in the 'manual' services from the existing list:
|
# patch in the 'manual' services from the existing list:
|
||||||
|
old_svc_set = set()
|
||||||
for old_svc in hdr_pe.decoded['eUICC-Mandatory-services'].keys():
|
for old_svc in hdr_pe.decoded['eUICC-Mandatory-services'].keys():
|
||||||
if old_svc in manual_services:
|
if old_svc in manual_services:
|
||||||
svc_set.add(old_svc)
|
old_svc_set.add(old_svc)
|
||||||
|
logger.debug(f"{svc_set=} + {old_svc_set=}")
|
||||||
|
svc_set = svc_set.union(old_svc_set)
|
||||||
|
logger.debug(f"{svc_set=}")
|
||||||
hdr_pe.decoded['eUICC-Mandatory-services'] = {x: None for x in svc_set}
|
hdr_pe.decoded['eUICC-Mandatory-services'] = {x: None for x in svc_set}
|
||||||
|
|
||||||
def rebuild_mandatory_gfstelist(self):
|
def rebuild_mandatory_gfstelist(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user