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