diff options
author | rebortg <github@ghlr.de> | 2022-02-23 15:59:59 +0100 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2022-02-23 16:01:06 +0100 |
commit | 7fff297724f047625e72112af34d2b49983836f6 (patch) | |
tree | 584fce84183d013e10e622b0e44a8f44f4ebd1e7 /docs/_ext/testcoverage.py | |
parent | b3be34ed134899f1048e4749bf5d4a1cfbbf8501 (diff) | |
download | vyos-documentation-7fff297724f047625e72112af34d2b49983836f6.tar.gz vyos-documentation-7fff297724f047625e72112af34d2b49983836f6.zip |
Fix build error caused by 3474
(cherry picked from commit c1f4cccea2c06ffc2a5454ef6c302ae2f8b2ce56)
Diffstat (limited to 'docs/_ext/testcoverage.py')
-rw-r--r-- | docs/_ext/testcoverage.py | 3 |
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']) |