This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
lazlo gerrit-no-reply at lists.osmocom.orglazlo has uploaded this change for review. ( https://gerrit.osmocom.org/12124
Change subject: utils: Remove call to format_xplmn_w_act() in pySim-read.py for now (not to break card tests).
......................................................................
utils: Remove call to format_xplmn_w_act() in pySim-read.py for now (not to break card tests).
Change-Id: I39d3c1fb217ef91d311e6607c0d50722576c4576
---
M pySim-read.py
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/24/12124/1
diff --git a/pySim-read.py b/pySim-read.py
index 70d3f14..4356453 100755
--- a/pySim-read.py
+++ b/pySim-read.py
@@ -37,7 +37,7 @@
import simplejson as json
from pySim.commands import SimCardCommands
-from pySim.utils import h2b, swap_nibbles, rpad, dec_imsi, dec_iccid, format_xplmn_w_act
+from pySim.utils import h2b, swap_nibbles, rpad, dec_imsi, dec_iccid
def parse_options():
@@ -129,7 +129,7 @@
try:
(res, sw) = scc.read_binary(EF['PLMNwAcT'])
if sw == '9000':
- print("PLMNwAcT: %s" % (format_xplmn_w_act(res)))
+ print("PLMNwAcT: %s" % (res))
else:
print("PLMNwAcT: Can't read, response code = %s" % (sw,))
except Exception as e:
@@ -139,7 +139,7 @@
try:
(res, sw) = scc.read_binary(EF['OPLMNwAcT'])
if sw == '9000':
- print("OPLMNwAcT: %s" % (format_xplmn_w_act(res)))
+ print("OPLMNwAcT: %s" % (res))
else:
print("OPLMNwAcT: Can't read, response code = %s" % (sw,))
except Exception as e:
@@ -149,7 +149,7 @@
try:
(res, sw) = scc.read_binary(EF['HPLMNAcT'])
if sw == '9000':
- print("HPLMNAcT: %s" % (format_xplmn_w_act(res)))
+ print("HPLMNAcT: %s" % (res))
else:
print("HPLMNAcT: Can't read, response code = %s" % (sw,))
except Exception as e:
--
To view, visit https://gerrit.osmocom.org/12124
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I39d3c1fb217ef91d311e6607c0d50722576c4576
Gerrit-Change-Number: 12124
Gerrit-PatchSet: 1
Gerrit-Owner: lazlo <dlsitzer at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181204/8cd67b49/attachment.htm>