summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2017-09-07 03:14:26 +0200
committerDaniil Baturin <daniil@baturin.org>2017-09-07 03:14:26 +0200
commit38051ef6a3e4bab7928fb16537771e395ff30619 (patch)
treee393c957b97ac821957a9284629e2a292dcad956
parent76a7790b6b4f45253109c2863522724a0fe06904 (diff)
downloadvyos-1x-38051ef6a3e4bab7928fb16537771e395ff30619.tar.gz
vyos-1x-38051ef6a3e4bab7928fb16537771e395ff30619.zip
Remove crude debugging stuff, I'll add a proper solution later.
-rwxr-xr-xscripts/build-command-templates5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/build-command-templates b/scripts/build-command-templates
index 01fcfc755..70020ecc6 100755
--- a/scripts/build-command-templates
+++ b/scripts/build-command-templates
@@ -30,8 +30,6 @@ from lxml import etree as ET
## Get arguments
-debug = True
-
if len(sys.argv) < 4:
print("Usage: {0} <interface definition file> <schema file> <output directory>".format(sys.argv[0]))
sys.exit(1)
@@ -126,8 +124,6 @@ def process_node(n, tmpl_dir):
name = n.get("name")
owner = n.get("owner")
- if debug: print("Processing node {0}".format(name))
-
my_tmpl_dir.append(name)
os.makedirs(make_path(my_tmpl_dir), exist_ok=True)
@@ -139,7 +135,6 @@ def process_node(n, tmpl_dir):
with open(os.path.join(make_path(my_tmpl_dir), "node.def"), "w") as f:
f.write(make_node_def(props))
- print(make_node_def(props))
node_type = n.tag
if node_type == "node":