new tiramisu's version
This commit is contained in:
parent
5668520a31
commit
8b52232d6a
1 changed files with 2 additions and 2 deletions
|
@ -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}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue