diff options
author | Harald Welte <laforge@osmocom.org> | 2024-02-04 22:42:08 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2024-02-05 09:52:46 +0100 |
commit | 49d69335b24c6fa1d2553daa5f7f4cf4425ea0eb (patch) | |
tree | 50326d3173072a47807a52dcbd0a0feacf0a6acf /pySim | |
parent | fdaefd9a8a8f0496cce40baeafd5ddd6a66bccca (diff) |
pylint: transport/__init__.py
pySim/transport/__init__.py:139:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens)
Change-Id: Ibeeb7d6fde40bb37774bbd09ad185203ac7bcb48
Diffstat (limited to 'pySim')
-rw-r--r-- | pySim/transport/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/transport/__init__.py b/pySim/transport/__init__.py index dcecfdd..dd06af8 100644 --- a/pySim/transport/__init__.py +++ b/pySim/transport/__init__.py @@ -136,7 +136,7 @@ class LinkBase(abc.ABC): # available. There are two SWs commonly used for this 9fxx (sim) and 61xx (usim), where # xx is the number of response bytes available. # See also: - if (sw is not None): + if sw is not None: 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=61: ISO/IEC 7816-4, Table 5 — General meaning of the interindustry values of SW1-SW2 |