mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-25 23:08:34 +03:00
pylint: transport/__init__.py
pySim/transport/__init__.py:139:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens) Change-Id: Ibeeb7d6fde40bb37774bbd09ad185203ac7bcb48
This commit is contained in:
@@ -136,7 +136,7 @@ class LinkBase(abc.ABC):
|
|||||||
# available. There are two SWs commonly used for this 9fxx (sim) and 61xx (usim), where
|
# available. There are two SWs commonly used for this 9fxx (sim) and 61xx (usim), where
|
||||||
# xx is the number of response bytes available.
|
# xx is the number of response bytes available.
|
||||||
# See also:
|
# See also:
|
||||||
if (sw is not None):
|
if sw is not None:
|
||||||
while ((sw[0:2] == '9f') or (sw[0:2] == '61')):
|
while ((sw[0:2] == '9f') or (sw[0:2] == '61')):
|
||||||
# SW1=9F: 3GPP TS 51.011 9.4.1, Responses to commands which are correctly executed
|
# SW1=9F: 3GPP TS 51.011 9.4.1, Responses to commands which are correctly executed
|
||||||
# SW1=61: ISO/IEC 7816-4, Table 5 — General meaning of the interindustry values of SW1-SW2
|
# SW1=61: ISO/IEC 7816-4, Table 5 — General meaning of the interindustry values of SW1-SW2
|
||||||
|
|||||||
Reference in New Issue
Block a user