mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 16:00:01 -04:00
Cleanup tag filtering code for statementlist:: RST directive
Technically this is fixup for33931c97fabut that commit is already merged. (cherry picked from commitf5faddd08a)
This commit is contained in:
parent
666f0f1d40
commit
e8cb9cceb7
1 changed files with 1 additions and 8 deletions
|
|
@ -442,20 +442,13 @@ def domain_factory(domainname, domainlabel, todolist, grammar):
|
|||
TableColumn("ref", "Statement"),
|
||||
TableColumn("short", "Description"),
|
||||
]
|
||||
table_b = DictToDocutilsTableBuilder(table_header)
|
||||
table_b.append_iterable(
|
||||
sorted(
|
||||
iscconf.list_all(fromdocname),
|
||||
key=lambda x: x["fullname"],
|
||||
)
|
||||
)
|
||||
tag_header = []
|
||||
|
||||
if len(acceptable_tags) != 1:
|
||||
# tags column only if tag filter is not applied
|
||||
tag_header = [
|
||||
TableColumn("tags_txt", "Tags"),
|
||||
]
|
||||
|
||||
table_b = DictToDocutilsTableBuilder(table_header + tag_header)
|
||||
table_b.append_iterable(
|
||||
sorted(
|
||||
|
|
|
|||
Loading…
Reference in a new issue