From 3ba10b61e10435e920c4ffa008c4f924395a0fc3 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 26 May 2024 10:59:44 +0200 Subject: [PATCH] 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 --- pySim/euicc.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pySim/euicc.py b/pySim/euicc.py index 1683cac5..e32fa4d2 100644 --- a/pySim/euicc.py +++ b/pySim/euicc.py @@ -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()