mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-30 01:19:37 +03:00
pylint: esim/rsp.py
pySim/esim/rsp.py:101:4: W0107: Unnecessary pass statement (unnecessary-pass) pySim/esim/rsp.py:27:0: C0411: standard import "from collections.abc import MutableMapping" should be placed before "from cryptography.hazmat.primitives.asymmetric import ec" (wrong-import-order) pySim/esim/rsp.py:22:0: W0611: Unused import copyreg (unused-import) pySim/esim/rsp.py:27:0: W0611: Unused MutableMapping imported from collections.abc (unused-import) Change-Id: Id87dbf82cd41ce6e5276e5bdd7af1877d77e3fab
This commit is contained in:
@@ -19,12 +19,10 @@
|
|||||||
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
import shelve
|
import shelve
|
||||||
import copyreg
|
|
||||||
|
|
||||||
from cryptography.hazmat.primitives.asymmetric import ec
|
from cryptography.hazmat.primitives.asymmetric import ec
|
||||||
from cryptography.hazmat.primitives.serialization import Encoding
|
from cryptography.hazmat.primitives.serialization import Encoding
|
||||||
from cryptography import x509
|
from cryptography import x509
|
||||||
from collections.abc import MutableMapping
|
|
||||||
|
|
||||||
from pySim.esim import compile_asn1_subdir
|
from pySim.esim import compile_asn1_subdir
|
||||||
|
|
||||||
@@ -98,4 +96,3 @@ class RspSessionState:
|
|||||||
class RspSessionStore(shelve.DbfilenameShelf):
|
class RspSessionStore(shelve.DbfilenameShelf):
|
||||||
"""A derived class as wrapper around the database-backed non-volatile storage 'shelve', in case we might
|
"""A derived class as wrapper around the database-backed non-volatile storage 'shelve', in case we might
|
||||||
need to extend it in the future. We use it to store RspSessionState objects indexed by transactionId."""
|
need to extend it in the future. We use it to store RspSessionState objects indexed by transactionId."""
|
||||||
pass
|
|
||||||
|
|||||||
Reference in New Issue
Block a user