Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddc7c572 authored by Jeremy Cline's avatar Jeremy Cline Committed by Masahiro Yamada
Browse files

scripts: Add Python 3 support to tracing/draw_functrace.py



Use the print function. This maintains Python 2 support and should have
no functional change.

Signed-off-by: default avatarJeremy Cline <jcline@redhat.com>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 79a85b55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()