diff options
author | Harald Welte <laforge@osmocom.org> | 2020-08-31 15:04:19 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-08-31 15:05:14 +0200 |
commit | 1e42420e576cf8f1626ee4d1500aa46890937135 (patch) | |
tree | f87405d3895ef1f810fda39c55ca18fcaabf3251 | |
parent | ca6739458e8eb8f15c981aa7343b66c770b42025 (diff) |
fix 'TabError: inconsistent use of tabs and spaces in indentation'
those errors appear with python 3.8.5 otherwise
Change-Id: I5e8a41a8aa9abdd0162c4635ccf9bfe736cca27e
-rw-r--r-- | pySim/cards.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pySim/cards.py b/pySim/cards.py index 2d779b3..2971d45 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': |