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.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/23420 )
Change subject: filesystem: drop __main__ from filesystem.py
......................................................................
filesystem: drop __main__ from filesystem.py
The __main__ function in filesystem.py seems to be some experimental
testcode from the very beginning of pySim-shell. Lets drop it.
Change-Id: I34f459469dfc45711ad0928c83184d7f99e0f5e3
Related: OS#4963
---
M pySim/filesystem.py
1 file changed, 0 insertions(+), 18 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
diff --git a/pySim/filesystem.py b/pySim/filesystem.py
index f412d73..d468808 100644
--- a/pySim/filesystem.py
+++ b/pySim/filesystem.py
@@ -717,21 +717,3 @@
"""Interpret a given status word within the profile. Returns tuple of
two strings"""
return interpret_sw(self.sw, sw)
-
-
-######################################################################
-
-if __name__ == '__main__':
- mf = CardMF()
-
- adf_usim = ADF('a0000000871002', name='ADF_USIM')
- mf.add_application(adf_usim)
- df_pb = CardDF('5f3a', name='DF.PHONEBOOK')
- adf_usim.add_file(df_pb)
- adf_usim.add_file(TransparentEF('6f05', name='EF.LI', size={2,16}))
- adf_usim.add_file(TransparentEF('6f07', name='EF.IMSI', size={9,9}))
-
- rss = RuntimeState(mf, None)
-
- interp = code.InteractiveConsole(locals={'mf':mf, 'rss':rss})
- interp.interact()
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/23420
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I34f459469dfc45711ad0928c83184d7f99e0f5e3
Gerrit-Change-Number: 23420
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210320/b3f6a9f0/attachment.htm>