pysim/pySim
Harald Welte 4f2c546613 transport: Pass status word interpreter to exception handler
Prior to this patch, any SwMatchError raised within the 'transport'
would not be interpreted.

EXCEPTION of type 'SwMatchError' occurred with message: 'SW match failed! Expected 9000 and got 6982.'

vs (now)

EXCEPTION of type 'SwMatchError' occurred with message: 'SW match failed! Expected 9000 and got 6982: Command not allowed - Security status not satisfied'

Change-Id: I08b7f2b6bd422f7f2f36094bc8a29b187ff882a6
2021-04-04 10:54:46 +02:00
..
transport transport: Pass status word interpreter to exception handler 2021-04-04 10:54:46 +02:00
__init__.py cosmetic: missing newlines on last line of 2 files 2017-03-21 13:07:57 +01:00
card_handler.py Remove Python shebang from files where it's not needed 2021-03-01 17:33:46 +01:00
card_key_provider.py card_key_provider: Documentation with sphinx / autodoc 2021-04-04 10:52:34 +02:00
cards.py fileystem: fix ADF selection 2021-04-02 16:21:14 +02:00
commands.py Add more documentation to the classes/methods 2021-04-02 21:08:35 +02:00
exceptions.py Add more documentation to the classes/methods 2021-04-02 21:08:35 +02:00
filesystem.py filesystem.py: Fix type annotation of read_binary_dec() 2021-04-03 20:34:37 +00:00
ts_31_102.py fix various file definitions 2021-04-02 22:05:28 +02:00
ts_31_103.py fix various file definitions 2021-04-02 22:05:28 +02:00
ts_51_011.py 51.011: Define some more files within DF_TELECOM 2021-04-02 22:05:28 +02:00
ts_102_221.py ts_102_221: use keywords to avoid conflicts with positional args 2021-03-31 17:33:04 +02:00
utils.py utils.py: Add more type annotations 2021-04-04 10:53:36 +02:00