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

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

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


lynxis lazus has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/57/14757/1

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190711/19800dc2/attachment.htm>


More information about the gerrit-log mailing list