diff options
author | Harald Welte <laforge@osmocom.org> | 2023-12-23 17:23:52 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2023-12-27 22:17:38 +0100 |
commit | dffe7af5789d9a59d6e12c43a449eaf2955f8443 (patch) | |
tree | 9ccd2b618863b95155edb79492975f3d47271aef /pySim/gsm_r.py | |
parent | 722c11a7e9d509700d781140392110b36887269e (diff) |
Fix enumeration of GlobbalPlatformISDR during card_init()
We used __subclasses__(), but this only returns the immediate
subclasses and not all further/nested subclasses. Instead, we must
use the pySim.utils.all_subclasses() function to really get all of them.
The hack to use the method signature of the constructor to determine if
it's an intermediate class didn't work, as even GlobbalPlatformISDR
has a optional argument for non-default AIDs. So let's introduce an
explicit class attribute for that purpose.
Change-Id: I7fb1637f8f7a149b536c4d77dac92736c526aa6c
Diffstat (limited to 'pySim/gsm_r.py')
0 files changed, 0 insertions, 0 deletions