Print tree method's print style fixed a little Signed-off-by: Imesh Gunaratne <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/ef083b07 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/ef083b07 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/ef083b07 Branch: refs/heads/stratos-4.1.x Commit: ef083b07a2dc9ed535adb303b616d7c62b8358d2 Parents: 9420ba8 Author: Milindu Sanoj Kumarage <[email protected]> Authored: Sat Jul 25 12:32:18 2015 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Tue Oct 13 16:32:45 2015 +0530 ---------------------------------------------------------------------- .../org.apache.stratos.python.cli/src/main/python/cli/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/ef083b07/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py b/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py index ade30f4..aa4b8de 100644 --- a/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py +++ b/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py @@ -28,7 +28,7 @@ class PrintableTree: if isinstance(v, list) or isinstance(v, dict): l.extend([k, v]) else: - l.extend([str(k) + " : " + str(v)]) + l.extend([str(k) + ":" + str(v)]) t = l for element in t[:-1]: print(ups + "+-", end='')
