aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/mconf.py3
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,