Skip to content

Commit

Permalink
scripts: Add Python 3 support to tracing/draw_functrace.py
Browse files Browse the repository at this point in the history
Use the print function. This maintains Python 2 support and should have
no functional change.

Signed-off-by: Jeremy Cline <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
jeremycline authored and masahir0y committed Jul 29, 2018
1 parent 79a85b5 commit ddc7c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tracing/draw_functrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def main():
tree = tree.getParent(caller)
tree = tree.calls(callee, calltime)

print CallTree.ROOT
print(CallTree.ROOT)

if __name__ == "__main__":
main()

0 comments on commit ddc7c57

Please sign in to comment.