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
Updated by Christian Babeux almost 11 years ago
- Assignee set to Yannick Brosseau
Updated by Mathieu Desnoyers almost 11 years ago
- Assignee changed from Yannick Brosseau to Mathieu Desnoyers
Updated by Zifei Tong almost 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 2d9c7df199d251c3094cd9ce241a59e78bc4ade3.
Actions