Saanch / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

compile-gatt.py does not run on Python 3.x. #393

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by hodap...@gmail.com on 15 May 2014 at 7:43

Attachments:

GoogleCodeExporter commented 9 years ago
thanks! already applied to the trunk.

Original comment by matthias.ringwald@gmail.com on 15 May 2014 at 7:50