laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/35829?usp=email )
Change subject: pylint: apdu/ts_31_102.py ......................................................................
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 --- M pySim/apdu/ts_31_102.py 1 file changed, 15 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/29/35829/1
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 @@ """ 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 @@
# 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