From 1e42420e576cf8f1626ee4d1500aa46890937135 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 31 Aug 2020 15:04:19 +0200 Subject: [PATCH] fix 'TabError: inconsistent use of tabs and spaces in indentation' those errors appear with python 3.8.5 otherwise Change-Id: I5e8a41a8aa9abdd0162c4635ccf9bfe736cca27e --- pySim/cards.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pySim/cards.py b/pySim/cards.py index 2d779b39..2971d45e 100644 --- a/pySim/cards.py +++ b/pySim/cards.py @@ -45,8 +45,8 @@ class Card(object): def file_exists(self, fid): res_arr = self._scc.try_select_file(fid) for res in res_arr: - if res[1] != '9000': - return False + if res[1] != '9000': + return False return True def verify_adm(self, key): @@ -1182,7 +1182,7 @@ class SysmoISIMSJA2(UsimCard): self._scc.update_binary('af20', p['opc'], 17) # update EF.EHPLMN in ADF.USIM - if self.file_exists(EF_USIM_ADF_map['EHPLMN']): + if self.file_exists(EF_USIM_ADF_map['EHPLMN']): if p.get('mcc') and p.get('mnc'): sw = self.update_ehplmn(p['mcc'], p['mnc']) if sw != '9000':