master groups that have multis
This commit is contained in:
@ -489,7 +489,11 @@ class OptionDescription(HiddenBaseType, DisabledBaseType):
|
||||
for child in self._children:
|
||||
if isinstance(child, OptionDescription):
|
||||
raise ConfigError("master group {} shall not have "
|
||||
"a subgroup".format(self._name))
|
||||
"a subgroup".format(self._name))
|
||||
if not child.multi:
|
||||
raise ConfigError("not allowed option {0} in group {1}"
|
||||
": this option is not a multi".format(child._name,
|
||||
self._name))
|
||||
if child._name == self._name:
|
||||
identical_master_child_name = True
|
||||
if not identical_master_child_name:
|
||||
|
Reference in New Issue
Block a user