[elbe-devel] [PATCH] debianize: fix the text user interface
Bastian Germann
bage at linutronix.de
Tue Jun 1 16:16:46 CEST 2021
Am 01.06.21 um 16:15 schrieb Christian Teklenborg:
> Get rid of the python magic attributes in the text user interface.
>
> Signed-off-by: Christian Teklenborg <chris at linutronix.de>
Reviewed-by: Bastian Germann <bage at linutronix.de>
> ---
> elbepack/debianize/widgets/radio.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/elbepack/debianize/widgets/radio.py b/elbepack/debianize/widgets/radio.py
> index 85730480..34322463 100644
> --- a/elbepack/debianize/widgets/radio.py
> +++ b/elbepack/debianize/widgets/radio.py
> @@ -25,7 +25,7 @@ class RadioGroup(Grid):
>
> self.radio_group = []
> for choice in enum_type.__dict__.keys():
> - if choice.startswith('-'):
> + if choice.startswith('_'):
> continue
> RadioButton(self.radio_group,
> label=choice.capitalize(),
>
More information about the elbe-devel
mailing list