From 0930bcbbb7923acff5587afdfee3d0ee2416e4ec Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 4 Feb 2024 22:52:36 +0100 Subject: [PATCH] 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 --- pySim/apdu/ts_31_102.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pySim/apdu/ts_31_102.py b/pySim/apdu/ts_31_102.py index 22003887..c3357736 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 @@ -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