From 49d69335b24c6fa1d2553daa5f7f4cf4425ea0eb Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 4 Feb 2024 22:42:08 +0100 Subject: [PATCH] pylint: transport/__init__.py pySim/transport/__init__.py:139:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens) Change-Id: Ibeeb7d6fde40bb37774bbd09ad185203ac7bcb48 --- pySim/transport/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySim/transport/__init__.py b/pySim/transport/__init__.py index dcecfdde..dd06af8f 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