laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/27104 )
Change subject: avoid pylint E0611: No name 'strxor' in module 'Crypto.Util.strxor' ......................................................................
avoid pylint E0611: No name 'strxor' in module 'Crypto.Util.strxor'
At least on Debian 10 and unstable, I'm getting this error for pylint: ************* Module pySim.utils pySim/utils.py:570:1: E0611: No name 'strxor' in module 'Crypto.Util.strxor' (no-name-in-module)
despite it clearly existing:
import Crypto.Util.strxor Crypto.Util.strxor.strxor
<built-in function strxor>
So let's suppress the related pylint error.
Change-Id: Iea89e758782a569be953d19892028f083a92c2f1 --- M pySim/utils.py 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/04/27104/1
diff --git a/pySim/utils.py b/pySim/utils.py index 1806d0d..0a9be86 100644 --- a/pySim/utils.py +++ b/pySim/utils.py @@ -567,6 +567,7 @@ Run the milenage algorithm to calculate OPC from Ki and OP """ from Crypto.Cipher import AES + # pylint: disable=no-name-in-module from Crypto.Util.strxor import strxor from pySim.utils import b2h