Change in pysim[master]: pySim-read.py: do not import json, it is not needed

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/.

laforge gerrit-no-reply at lists.osmocom.org
Sat Feb 15 19:11:50 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/17151 )

Change subject: pySim-read.py: do not import json, it is not needed
......................................................................

pySim-read.py: do not import json, it is not needed

Change-Id: I4ae1d71c5695c9cd8ddebea514847b0be6a24c6c
---
M pySim-read.py
1 file changed, 0 insertions(+), 6 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/pySim-read.py b/pySim-read.py
index ce5f8a5..8c137e7 100755
--- a/pySim-read.py
+++ b/pySim-read.py
@@ -30,12 +30,6 @@
 import sys
 from pySim.ts_51_011 import EF, DF
 
-try:
-	import json
-except ImportError:
-	# Python < 2.5
-	import simplejson as json
-
 from pySim.commands import SimCardCommands
 from pySim.utils import h2b, swap_nibbles, rpad, dec_imsi, dec_iccid, dec_msisdn, format_xplmn_w_act, dec_spn
 

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/17151
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I4ae1d71c5695c9cd8ddebea514847b0be6a24c6c
Gerrit-Change-Number: 17151
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200215/5cc78832/attachment.htm>


More information about the gerrit-log mailing list