diff options
author | Maxin B. John <maxin.john@intel.com> | 2016-07-07 18:13:04 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-12 23:10:04 +0100 |
commit | 0d0864ae0ff9e53623ad1c7146b071f2a046f21f (patch) | |
tree | 50062c42f25313dc20864c518ba1240873b1bb98 | |
parent | b2cf098969b8b800a78d650cf60c0b5ad31c85b5 (diff) | |
download | openembedded-core-0d0864ae0ff9e53623ad1c7146b071f2a046f21f.tar.gz openembedded-core-0d0864ae0ff9e53623ad1c7146b071f2a046f21f.tar.bz2 openembedded-core-0d0864ae0ff9e53623ad1c7146b071f2a046f21f.zip |
graph-tool: convert to python3
move graph-tool to python3
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rwxr-xr-x | scripts/contrib/graph-tool | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/contrib/graph-tool b/scripts/contrib/graph-tool index 6dc7d337f8..0275fbd5c0 100755 --- a/scripts/contrib/graph-tool +++ b/scripts/contrib/graph-tool @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Simple graph query utility # useful for getting answers from .dot files produced by bitbake -g @@ -56,7 +56,7 @@ def find_paths(args, usage): paths = list(get_path_networkx(args[0], fromnode, tonode)) if paths: for path in paths: - print ' -> '.join(path) + print(" -> ".join(map(str,path))) else: print("ERROR: no path from %s to %s in graph" % (fromnode, tonode)) sys.exit(1) |