What steps will reproduce the problem? 1. Running compile-gatt.py from Python 3.x on a system such as ArchLinux, where system 'python' runs Python 3.
What is the expected output? What do you see instead? Expected output is usage information. Actual output is a syntax error at line 33 of the Python file. This appears to be due to it using a print statement rather than a print() command.
What version of the product are you using? On what operating system? SVN rev 2551 on ArchLinux, x86_64.
I have attached a patch which updates the Python code to be usable on both Python 2.7 and 3.x.
- compile-gatt-py3.patch 2.84KB
Comment #1
Posted on May 15, 2014 by Swift Oxthanks! already applied to the trunk.
Status: Fixed
Labels:
Type-Defect
Priority-Medium