From fd5b81f66e44a75e0df0f0774d4d23c400d29a21 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 3 Jun 2020 17:25:59 +0200 Subject: Enable debug mode to build-command-templates --- scripts/build-command-templates | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/build-command-templates') diff --git a/scripts/build-command-templates b/scripts/build-command-templates index 767517b29..457adbec2 100755 --- a/scripts/build-command-templates +++ b/scripts/build-command-templates @@ -249,7 +249,8 @@ def process_node(n, tmpl_dir): my_tmpl_dir.append(name) - print("Name of the node: {0}. Created directory: {1}\n".format(name, "/".join(my_tmpl_dir)), end="") + if debug: + print("Name of the node: {0}. Created directory: {1}\n".format(name, "/".join(my_tmpl_dir)), end="") os.makedirs(make_path(my_tmpl_dir), exist_ok=True) props = get_properties(props_elem) -- cgit v1.2.3