aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/construct.py
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2024-02-04 16:56:46 +0100
committerHarald Welte <laforge@osmocom.org>2024-02-04 21:27:00 +0100
commite55fcf66bf9d5f92dd74858555090767a433e8f8 (patch)
tree27ec97b3d1200eb4d16e86ed8116458abe856abb /pySim/construct.py
parentbc8e2e16640a0bc1084d6fca1981460722452118 (diff)
Be more conservative in our imports
Try to avoid '*' from anything into various modules, polluting the namespace. Change-Id: Iba749d18e1863ded88ba2d2183e2e8d718b2d612
Diffstat (limited to 'pySim/construct.py')
-rw-r--r--pySim/construct.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pySim/construct.py b/pySim/construct.py
index 0c82c41..988dbf3 100644
--- a/pySim/construct.py
+++ b/pySim/construct.py
@@ -1,7 +1,9 @@
from construct.lib.containers import Container, ListContainer
from construct.core import EnumIntegerString
import typing
-from construct import *
+from construct import Adapter, Prefixed, Int8ub, GreedyBytes, Default, Flag, Byte, Construct, Enum
+from construct import BitsInteger, BitStruct, Bytes, StreamError, stream_read_entire, stream_write
+from construct import SizeofError, IntegerError, swapbytes
from construct.core import evaluate, BitwisableString
from construct.lib import integertypes
from pySim.utils import b2h, h2b, swap_nibbles