laforge has uploaded this change for review.

View Change

pySim-shell: Unregister TS 102 222 commands during 'equip'

This avoids error messages about re-registering the same TS 102 222
commands during executing the 'equip' command.

Change-Id: I3567247fe84e928e3ef404c07eff8250ef04dfe9
---
M pySim-shell.py
1 file changed, 13 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/07/33207/1
diff --git a/pySim-shell.py b/pySim-shell.py
index fc825ef..d6d9a64 100755
--- a/pySim-shell.py
+++ b/pySim-shell.py
@@ -204,7 +204,7 @@
if self.rs:
lchan = self.rs.lchan[0]
lchan.unregister_cmds(self)
- for cmds in [Iso7816Commands, PySimCommands]:
+ for cmds in [Iso7816Commands, Ts102222Commands, PySimCommands]:
cmd_set = self.find_commandsets(cmds)
if cmd_set:
self.unregister_command_set(cmd_set[0])

To view, visit change 33207. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I3567247fe84e928e3ef404c07eff8250ef04dfe9
Gerrit-Change-Number: 33207
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge@osmocom.org>
Gerrit-MessageType: newchange