Compare commits

..

No commits in common. "aa774cbce96a981512611de8879ad8470f2a3237" and "7fca8e9d6217be2a09bbc3a989fc4a8c23034c12" have entirely different histories.

3 changed files with 3 additions and 8 deletions

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project] [project]
name = "tiramisu" name = "tiramisu"
version = "5.2.0a12" version = "5.2.0a11"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}] authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md" readme = "README.md"
description = "an options controller tool" description = "an options controller tool"

View file

@ -1 +1 @@
__version__ = "5.2.0a12" __version__ = "5.2.0a11"

View file

@ -107,7 +107,6 @@ class DynOptionDescription(OptionDescription):
parent: "SubConfig", parent: "SubConfig",
*, *,
uncalculated: bool = False, uncalculated: bool = False,
from_display_name: bool = False,
) -> List[str]: ) -> List[str]:
"""get dynamic identifiers""" """get dynamic identifiers"""
subconfig = parent.get_child( subconfig = parent.get_child(
@ -130,15 +129,11 @@ class DynOptionDescription(OptionDescription):
values = [] values = []
if __debug__: if __debug__:
if not isinstance(values, list): if not isinstance(values, list):
if not from_display_name:
name = self.impl_get_display_name(subconfig, with_quote=True)
else:
name = self.impl_getname()
raise ValueError( raise ValueError(
_( _(
"DynOptionDescription identifiers for option {0}, is not a list ({1})" "DynOptionDescription identifiers for option {0}, is not a list ({1})"
).format( ).format(
name, values self.impl_get_display_name(subconfig, with_quote=True), values
) )
) )
values_ = [] values_ = []