-
Notifications
You must be signed in to change notification settings - Fork 544
Open
Description
When running tools/gen_appbin.py with Python 3, I get various errors:
File "tools/gen_appbin.py", line 55
print 'file_name cannot be none\n'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "tools/gen_appbin.py", line 81
if need_chk:
TabError: inconsistent use of tabs and spaces in indentation
Python 2 is out of support since 2020, and the last remains are being removed from Linux distributions.
Please ensure these scripts are compatible with Python 3.
It shouldn't be too hard to convert them, here's a trivial patch for gen_appbin.py (may need some testing): https://gist.github.com/onitake/045a55ad2aabf42b193474483cbcd234
I can make a pull request if you like.
Metadata
Metadata
Assignees
Labels
No labels