fix: use new information ymlfiles
This commit is contained in:
parent
aaf3f95126
commit
abbeb78dbb
2 changed files with 2 additions and 8 deletions
|
|
@ -60,9 +60,6 @@ class Annotator(Walk):
|
|||
def populate_family(self) -> None:
|
||||
"""Set doc, path, ... to family"""
|
||||
for family in self.get_families():
|
||||
self.objectspace.informations.add(
|
||||
family.path, "dictionaries", family.xmlfiles
|
||||
)
|
||||
self.convert_variable_property(family)
|
||||
if family.type != "dynamic":
|
||||
continue
|
||||
|
|
@ -151,9 +148,6 @@ class Annotator(Walk):
|
|||
)
|
||||
if variable.path in self.objectspace.leaders and not default:
|
||||
self.add_examples_values(variable)
|
||||
self.objectspace.informations.add(
|
||||
variable.path, "dictionaries", variable.xmlfiles
|
||||
)
|
||||
self.convert_variable_property(variable)
|
||||
|
||||
def convert_variable_property(
|
||||
|
|
|
|||
|
|
@ -351,7 +351,7 @@ class RougailOutputDoc(Examples):
|
|||
):
|
||||
warning = _('No attribute "description" for "{0}" in {1}').format(
|
||||
obj.path(uncalculated=True),
|
||||
display_xmlfiles(obj.information.get("dictionaries")),
|
||||
display_xmlfiles(obj.information.get("ymlfiles")),
|
||||
)
|
||||
warn(warning)
|
||||
else:
|
||||
|
|
@ -560,7 +560,7 @@ class RougailOutputDoc(Examples):
|
|||
).format(
|
||||
prop,
|
||||
variable.path(),
|
||||
display_xmlfiles(variable.information.get("dictionaries")),
|
||||
display_xmlfiles(variable.information.get("ymlfiles")),
|
||||
)
|
||||
warn(warning)
|
||||
elif calculation["type"] == "variable":
|
||||
|
|
|
|||
Loading…
Reference in a new issue