summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2022-02-23 15:59:59 +0100
committerrebortg <github@ghlr.de>2022-02-23 15:59:59 +0100
commitc1f4cccea2c06ffc2a5454ef6c302ae2f8b2ce56 (patch)
tree5e07e3782a1404f205fda3451fa738df611a4648
parentf1d59e5d63b3c487429c585f5c252289b27c03ca (diff)
downloadvyos-documentation-c1f4cccea2c06ffc2a5454ef6c302ae2f8b2ce56.tar.gz
vyos-documentation-c1f4cccea2c06ffc2a5454ef6c302ae2f8b2ce56.zip
Fix build error caused by 3474
-rw-r--r--docs/_ext/testcoverage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/_ext/testcoverage.py b/docs/_ext/testcoverage.py
index 90d9a93e..3d1461a9 100644
--- a/docs/_ext/testcoverage.py
+++ b/docs/_ext/testcoverage.py
@@ -337,7 +337,8 @@ def get_working_commands():
}
for kind in config_tree_new:
for e in config_tree_new[kind]:
- result[kind].extend(create_commands(config_tree_new[kind][e]))
+ if config_tree_new[kind][e]['name']:
+ result[kind].extend(create_commands(config_tree_new[kind][e]))
for cmd in result['cfgcmd']:
cmd['cmd'] = " ".join(cmd['name'])