summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build-command-templates3
1 files changed, 2 insertions, 1 deletions
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)