]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Cleanup tag filtering code for statementlist:: RST directive
authorPetr Špaček <pspacek@isc.org>
Thu, 30 Jun 2022 15:29:18 +0000 (17:29 +0200)
committerPetr Špaček <pspacek@isc.org>
Fri, 1 Jul 2022 06:59:24 +0000 (08:59 +0200)
Technically this is fixup for
33931c97faaa0f728b4194b8077825e75c351e12
but that commit is already merged.

doc/arm/_ext/iscconf.py

index 809445ec5047ca1e534600bfb753d8d5d08a0669..4380a8c4c1a8cda6c3ab457fd1acb99b9fcaf8e7 100644 (file)
@@ -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(