diff options
author | Sander Sweers <infirit@gmail.com> | 2018-03-04 13:36:34 +0100 |
---|---|---|
committer | Sander Sweers <infirit@gmail.com> | 2018-03-04 19:54:50 +0100 |
commit | ae90b6586fcbd8d74272c3f01342e8308a3e8875 (patch) | |
tree | 8a9318a907600f6009fe642c2a36b0961ac58806 /mesonbuild/mconf.py | |
parent | daaae647d7f949fd44290c52c7e70098540726d8 (diff) | |
download | meson-ae90b6586fcbd8d74272c3f01342e8308a3e8875.zip meson-ae90b6586fcbd8d74272c3f01342e8308a3e8875.tar.gz meson-ae90b6586fcbd8d74272c3f01342e8308a3e8875.tar.bz2 |
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.
Diffstat (limited to 'mesonbuild/mconf.py')
-rw-r--r-- | mesonbuild/mconf.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 45b3d82..5129c7b 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -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, |