Change in osmocom-bb[master]: trx_toolkit/clck_gen.py: avoid logging \0-terminator

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Fri May 17 12:40:56 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/14074


Change subject: trx_toolkit/clck_gen.py: avoid logging \0-terminator
......................................................................

trx_toolkit/clck_gen.py: avoid logging \0-terminator

Change-Id: I93da2e8ba9d3fda944b8171bc42e49063c925f9c
---
M src/target/trx_toolkit/clck_gen.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/74/14074/1

diff --git a/src/target/trx_toolkit/clck_gen.py b/src/target/trx_toolkit/clck_gen.py
index 6c2cbf8..a4b83b5 100755
--- a/src/target/trx_toolkit/clck_gen.py
+++ b/src/target/trx_toolkit/clck_gen.py
@@ -82,7 +82,7 @@
 				link.send(payload)
 
 			# Debug print
-			log.debug(payload)
+			log.debug(payload.rstrip("\0"))
 
 		# Increase frame count
 		self.clck_src += self.ind_period

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I93da2e8ba9d3fda944b8171bc42e49063c925f9c
Gerrit-Change-Number: 14074
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190517/fa2446c8/attachment.html>


More information about the gerrit-log mailing list