mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-20 12:28:33 +03:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user