mconf: Do not turn opt.choices into a string
It is inconsistent with other option groups. It also breaks print_aligned as it handles lists.
This commit is contained in:
parent
daaae647d7
commit
ae90b6586f
|
@ -233,8 +233,7 @@ class Conf:
|
|||
# Zero length list or string
|
||||
choices = ''
|
||||
else:
|
||||
# A non zero length list or string, convert to string
|
||||
choices = str(opt.choices)
|
||||
choices = opt.choices
|
||||
optarr.append({'name': key,
|
||||
'descr': opt.description,
|
||||
'value': opt.value,
|
||||
|
|
Loading…
Reference in New Issue