mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-29 18:09:11 -04:00
Detect unsupported statement:: directives with multiple names
(cherry picked from commit d61d998e3b)
This commit is contained in:
parent
4c53d6f906
commit
a486e6e294
1 changed files with 6 additions and 0 deletions
|
|
@ -134,6 +134,12 @@ def domain_factory(domainname, domainlabel, todolist, grammar):
|
|||
tags += nodes.Text(", ".join(self.isc_tags))
|
||||
contentnode.insert(0, tags)
|
||||
|
||||
names = self.get_signatures()
|
||||
if len(names) != 1:
|
||||
raise NotImplementedError(
|
||||
"statements with more than one name are not supported", names
|
||||
)
|
||||
|
||||
name = domainname
|
||||
label = domainlabel
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue