Change in ...osmocom-bb[master]: target_dsp/bin2cfile.py: make it compatible with python3

lynxis lazus gerrit-no-reply at lists.osmocom.org
Thu Jul 11 14:40:10 UTC 2019


lynxis lazus has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmocom-bb/+/14757 )

Change subject: target_dsp/bin2cfile.py: make it compatible with python3
......................................................................

target_dsp/bin2cfile.py: make it compatible with python3

Change-Id: I2659c2e4633bd120cc6cd76942eff5b66d2057bb
---
M src/target_dsp/calypso/bin2cfile.py
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/src/target_dsp/calypso/bin2cfile.py b/src/target_dsp/calypso/bin2cfile.py
index 9456a6a..4d5a193 100755
--- a/src/target_dsp/calypso/bin2cfile.py
+++ b/src/target_dsp/calypso/bin2cfile.py
@@ -31,7 +31,7 @@
 	name = filename.split('.',1)[0]
 
 	# Header / footer
-	print """
+	print("""
 #define _SA_DECL (const uint16_t *)&(const uint16_t [])
 
 static const struct dsp_section %s[] = {
@@ -50,7 +50,7 @@
 };
 
 #undef _SA_DECL
-""" % (name, len(d)/2, ops)
+""" % (name, len(d)/2, ops))
 
 
 if __name__ == "__main__":

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I2659c2e4633bd120cc6cd76942eff5b66d2057bb
Gerrit-Change-Number: 14757
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190711/763fa02f/attachment.html>


More information about the gerrit-log mailing list