Actions
Bug #585
closedlttng-gen-tp: add python3 support
Start date:
07/07/2013
Due date:
% Done:
100%
Estimated time:
Description
Compiling "lttng-ust/doc/examples/gen-tp" with python 3.3.2 generates the following error:
../../../tools/lttng-gen-tp -o sample_tracepoint.h sample_tracepoint.tp File "../../../tools/lttng-gen-tp", line 109 except OSError, msg: ^ SyntaxError: invalid syntax make: *** [sample_tracepoint.h] Error 1
There is not much to do for supporting python3 while keeping python2 compatibility.
I've attached a patch tested with Python 2.7.5 and Python 3.3.2.
Files
Actions