Lint fixes: false -> False, missing imports, Index list, not map iter

Change-Id: Iff4123a49c8dbcfc405612c0663d5c7d0f549748
This commit is contained in:
Daniel Willmann
2020-10-19 10:35:11 +02:00
parent 677d41bb41
commit dd014ea306
3 changed files with 5 additions and 5 deletions

View File

@@ -647,13 +647,13 @@ def process_card(opts, first, card_handler):
if opts.read_iccid:
if opts.dry_run:
# Connect transport
card_handler.get(false)
card_handler.get(False)
(res,_) = scc.read_binary(['3f00', '2fe2'], length=10)
iccid = dec_iccid(res)
elif opts.read_imsi:
if opts.dry_run:
# Connect transport
card_handler.get(false)
card_handler.get(False)
(res,_) = scc.read_binary(EF['IMSI'])
imsi = swap_nibbles(res)[3:]
else: