mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 06:12:51 -04:00
Detect unsupported statement:: directives with multiple names
This commit is contained in:
parent
ebe6ede2ec
commit
d61d998e3b
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