From 214e103407d3eb2934d83283e073a7d2b925f7af Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Mon, 11 Nov 2019 11:48:54 +0100 Subject: [PATCH] sysmo_usimsjs1.py: do not print OP/OPc twice The method that shows the OP/OPc prints the OP/OPc value twice. Lets remove the redundant output Change-Id: I0c890b977b3a9dc80b5c328b0c859f0bc9c7ef8b --- sysmo_usimsjs1.py | 1 - tests/06_op_opc.out | 2 -- 2 files changed, 3 deletions(-) diff --git a/sysmo_usimsjs1.py b/sysmo_usimsjs1.py index b821472..67398fe 100644 --- a/sysmo_usimsjs1.py +++ b/sysmo_usimsjs1.py @@ -525,7 +525,6 @@ class Sysmo_usimsjs1: print(" * New OPc setting:") print(" %s: %s" % (id_to_str(sysmo_usim_opcmodes, select), hexdump(op))) - print(" OP/OPc: " + hexdump(op)) self.sim.select(GSM_SIM_DF_GSM) self.sim.select(SYSMO_USIMSJS1_EF_OPC) diff --git a/tests/06_op_opc.out b/tests/06_op_opc.out index e780174..d9703a3 100644 --- a/tests/06_op_opc.out +++ b/tests/06_op_opc.out @@ -15,7 +15,6 @@ Writing OP value... * Initalizing... * New OPc setting: OPc: 000102030405060708090a0b0c0d0e0f - OP/OPc: 000102030405060708090a0b0c0d0e0f * Programming... Done! @@ -56,7 +55,6 @@ Writing OP value... * Initalizing... * New OPc setting: OP: 840337c3d45397ce8ea8609ffdc47224 - OP/OPc: 840337c3d45397ce8ea8609ffdc47224 * Programming... Done!