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 <[email protected]>
Gerrit-MessageType: newchange