pysim/euicc: Remove duplicated code

The get_eid command is actually sending the command apdu twice, as
it contains both an older implementation (result unused) and the newer
one.

Change-Id: Ie82bb09f4fc30bc879029b83147dad5614792b48
This commit is contained in:
Harald Welte
2024-05-26 10:59:44 +02:00
parent a823ce89f6
commit 3ba10b61e1

View File

@@ -488,7 +488,6 @@ class CardApplicationISDR(pySim.global_platform.CardApplicationSD):
def do_get_eid(self, _opts):
"""Perform an ES10c GetEID function."""
(_data, _sw) = CardApplicationISDR.store_data(self._cmd.lchan.scc, 'BF3E035C015A')
ged_cmd = GetEuiccData(children=[TagList(decoded=[0x5A])])
ged = CardApplicationISDR.store_data_tlv(self._cmd.lchan.scc, ged_cmd, GetEuiccData)
d = ged.to_dict()