aboutsummaryrefslogtreecommitdiffstats
path: root/pySim
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2024-02-04 22:52:36 +0100
committerHarald Welte <laforge@osmocom.org>2024-02-05 09:53:16 +0100
commit0930bcbbb7923acff5587afdfee3d0ee2416e4ec (patch)
tree52b9b424e17b65f73e909ffd9ac0a53d610fdbae /pySim
parent295d4a490707c459c726374f6ee0da8afb5ec514 (diff)
pylint: apdu/ts_31_102.py
pySim/apdu/ts_31_102.py:12:0: W0401: Wildcard import construct (wildcard-import) pySim/apdu/ts_31_102.py:38:0: W0404: Reimport 'ApduCommand' (imported line 18) (reimported) pySim/apdu/ts_31_102.py:38:0: W0404: Reimport 'ApduCommandSet' (imported line 18) (reimported) Change-Id: I191147af95142adcd7d768d7dae6480b0c7513fc
Diffstat (limited to 'pySim')
-rw-r--r--pySim/apdu/ts_31_102.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/pySim/apdu/ts_31_102.py b/pySim/apdu/ts_31_102.py
index 2200388..c335773 100644
--- a/pySim/apdu/ts_31_102.py
+++ b/pySim/apdu/ts_31_102.py
@@ -9,12 +9,12 @@ APDU commands of 3GPP TS 31.102 V16.6.0
"""
from typing import Dict
-from construct import *
+from construct import BitStruct, Enum, BitsInteger, Int8ub, Bytes, this, Struct, If, Switch, Const
from construct import Optional as COptional
+
from pySim.filesystem import *
from pySim.construct import *
from pySim.ts_31_102 import SUCI_TlvDataObject
-
from pySim.apdu import ApduCommand, ApduCommandSet
# Copyright (C) 2022 Harald Welte <laforge@osmocom.org>
@@ -35,8 +35,6 @@ from pySim.apdu import ApduCommand, ApduCommandSet
# Mapping between USIM Service Number and its description
-from pySim.apdu import ApduCommand, ApduCommandSet
-
# TS 31.102 Section 7.1
class UsimAuthenticateEven(ApduCommand, n='AUTHENTICATE', ins=0x88, cla=['0X', '4X', '6X']):
_apdu_case = 4