[S] Change in pysim[master]: pySim-shell: Unregister profile commands during equip
iw0 has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/33424 ) Change subject: pySim-shell: Unregister profile commands during equip ...................................................................... pySim-shell: Unregister profile commands during equip Change-Id: I893bb5ae95f5c6e4c2be2d133754e427bc92a33d --- M pySim-shell.py 1 file changed, 13 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/24/33424/1 diff --git a/pySim-shell.py b/pySim-shell.py index f6cd75d..400e70d 100755 --- a/pySim-shell.py +++ b/pySim-shell.py @@ -204,6 +204,10 @@ if self.rs: lchan = self.rs.lchan[0] lchan.unregister_cmds(self) + if self.rs.profile: + for cmd_set in self.rs.profile.shell_cmdsets: + self.unregister_command_set(cmd_set) + for cmds in [Iso7816Commands, Ts102222Commands, PySimCommands]: cmd_set = self.find_commandsets(cmds) if cmd_set: -- To view, visit https://gerrit.osmocom.org/c/pysim/+/33424 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I893bb5ae95f5c6e4c2be2d133754e427bc92a33d Gerrit-Change-Number: 33424 Gerrit-PatchSet: 1 Gerrit-Owner: iw0 <osmocom@heychris.eu> Gerrit-MessageType: newchange
participants (1)
-
iw0