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

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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Fri May 17 13:29:22 UTC 2019


Vadim Yanitskiy has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  Vadim Yanitskiy: Looks good to me, approved



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: merged
Gerrit-Change-Id: I93da2e8ba9d3fda944b8171bc42e49063c925f9c
Gerrit-Change-Number: 14074
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190517/c01a6e37/attachment.htm>


More information about the gerrit-log mailing list