new tiramisu's version

This commit is contained in:
egarette@silique.fr 2024-07-06 14:44:18 +02:00
parent 5668520a31
commit 8b52232d6a

View file

@ -36,9 +36,9 @@ from .update import RougailUpgrade
from .object_model import CONVERT_OPTION from .object_model import CONVERT_OPTION
def tiramisu_display_name(kls) -> str: def tiramisu_display_name(kls, subconfig) -> str:
"""Replace the Tiramisu display_name function to display path + description""" """Replace the Tiramisu display_name function to display path + description"""
doc = kls.impl_get_information("doc", None) doc = kls._get_information(subconfig, "doc", None)
comment = f" ({doc})" if doc and doc != kls.impl_getname() else "" comment = f" ({doc})" if doc and doc != kls.impl_getname() else ""
return f"{kls.impl_getpath()}{comment}" return f"{kls.impl_getpath()}{comment}"