aboutsummaryrefslogtreecommitdiffstats
path: root/pySim-read.py
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-04-03 11:52:37 +0200
committerHarald Welte <laforge@osmocom.org>2021-04-04 10:53:36 +0200
commit6e0458dda661f653380bfee8cf715412e8124f7c (patch)
treed393bd8ce9143c8db9746272f2e102dc5bc953ab /pySim-read.py
parent9d0f1f0cd5473a52387fdc4be3f61de185200aaa (diff)
Move init_reader() from utils.py to transport/__init__.py
This avoids a circular dependency when introducing type annotations. Change-Id: I168597ac14497fb188a15cb632f32452128bc1c6
Diffstat (limited to 'pySim-read.py')
-rwxr-xr-xpySim-read.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pySim-read.py b/pySim-read.py
index 638bd4b..59c5762 100755
--- a/pySim-read.py
+++ b/pySim-read.py
@@ -33,9 +33,10 @@ from pySim.ts_31_102 import EF_UST_map, EF_USIM_ADF_map
from pySim.ts_31_103 import EF_IST_map, EF_ISIM_ADF_map
from pySim.commands import SimCardCommands
+from pySim.transport import init_reader
from pySim.cards import card_detect, Card, UsimCard, IsimCard
from pySim.utils import h2b, swap_nibbles, rpad, dec_imsi, dec_iccid, dec_msisdn
-from pySim.utils import format_xplmn_w_act, dec_spn, dec_st, init_reader, dec_addr_tlv
+from pySim.utils import format_xplmn_w_act, dec_spn, dec_st, dec_addr_tlv
from pySim.utils import h2s, format_ePDGSelection
def parse_options():