Change in pysim[master]: pySim/filesystem: Remove left-over debug print statements

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
Tue Apr 6 22:34:06 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/23660 )


Change subject: pySim/filesystem: Remove left-over debug print statements
......................................................................

pySim/filesystem: Remove left-over debug print statements

the print statements in read_binary_decoded and update_binary_decoded
should have been removed a long time ago.

Change-Id: I9ccc61c426a755fae9008d0717d579fa2da0ef7c
---
M pySim/filesystem.py
1 file changed, 0 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/60/23660/1

diff --git a/pySim/filesystem.py b/pySim/filesystem.py
index ab9b2f3..a65a764 100644
--- a/pySim/filesystem.py
+++ b/pySim/filesystem.py
@@ -983,7 +983,6 @@
         """
         (data, sw) = self.read_binary()
         dec_data = self.selected_file.decode_hex(data)
-        print("%s: %s -> %s" % (sw, data, dec_data))
         return (dec_data, sw)
 
     def update_binary(self, data_hex:str, offset:int=0):
@@ -1005,7 +1004,6 @@
             data : abstract data which is to be encoded and written
         """
         data_hex = self.selected_file.encode_hex(data)
-        print("%s -> %s" % (data, data_hex))
         return self.update_binary(data_hex)
 
     def read_record(self, rec_nr:int=0):

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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I9ccc61c426a755fae9008d0717d579fa2da0ef7c
Gerrit-Change-Number: 23660
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210406/21a994ab/attachment.htm>


More information about the gerrit-log mailing list