mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-20 04:18:36 +03:00
filesystem: fix various issues found by mypy
Change-Id: Ib4de80451614712bdf5377a3a5b86156008e2c42
This commit is contained in:
@@ -803,7 +803,7 @@ def get_addr_type(addr):
|
||||
|
||||
return None
|
||||
|
||||
def sw_match(sw:str, pattern:str) -> str:
|
||||
def sw_match(sw:str, pattern:str) -> bool:
|
||||
"""Match given SW against given pattern."""
|
||||
# Create a masked version of the returned status word
|
||||
sw_lower = sw.lower()
|
||||
|
||||
Reference in New Issue
Block a user