diff options
author | Harald Welte <laforge@osmocom.org> | 2021-10-14 17:48:25 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2021-10-14 19:10:16 +0200 |
commit | 4c1dca04a57f1f46c262868729805e832db334a2 (patch) | |
tree | d2922ee64c629a55d131b9da78ccd35de5b19e4a /pySim-shell.py | |
parent | f898c28284428e0c561a47679c0d600afae86973 (diff) |
CardModel: Document how this 'magic' works in some comments.
Change-Id: If16ade6e1098a87f749259bad6dea805ddb61ede
Diffstat (limited to 'pySim-shell.py')
-rwxr-xr-x | pySim-shell.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pySim-shell.py b/pySim-shell.py index 871c45e..5aa311c 100755 --- a/pySim-shell.py +++ b/pySim-shell.py @@ -48,6 +48,9 @@ from pySim.ts_102_221 import CardProfileUICC from pySim.ts_31_102 import CardApplicationUSIM from pySim.ts_31_103 import CardApplicationISIM +# we need to import this module so that the SysmocomSJA2 sub-class of +# CardModel is created, which will add the ATR-based matching and +# calling of SysmocomSJA2.add_files. See CardModel.apply_matching_models import pySim.sysmocom_sja2 from pySim.card_key_provider import CardKeyProviderCsv, card_key_provider_register, card_key_provider_get_field |