Change in pysim[master]: pysim-shell: select MF on startup to make commands accessible

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Mar 23 19:52:11 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/23472 )

Change subject: pysim-shell: select MF on startup to make commands accessible
......................................................................

pysim-shell: select MF on startup to make commands accessible

On the cration of the PysimApp object only the basic commands in
pySim-shell.py are registered, since the MF is only created but not
selected, the file specific commands of the MF are not available. To
make them available, select the MF once on startup before entering the
cmdloop.

Change-Id: Ib63191f44e7c8ae07b0128a9affba40b44957adc
Related: OS#4963
---
M pySim-shell.py
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  daniel: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/pySim-shell.py b/pySim-shell.py
index 481bfc8..946b3e5 100755
--- a/pySim-shell.py
+++ b/pySim-shell.py
@@ -263,4 +263,5 @@
 	rs.mf.add_application(ADF_ISIM())
 
 	app = PysimApp(card, rs)
+	rs.select('MF', app)
 	app.cmdloop()

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/23472
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ib63191f44e7c8ae07b0128a9affba40b44957adc
Gerrit-Change-Number: 23472
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210323/8bceb7c4/attachment.htm>


More information about the gerrit-log mailing list