diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2018-05-13 10:36:58 -0400 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-06-06 20:02:37 +0000 |
commit | 58a9555ddf49d851a7eb56874df1d0b3f498e53e (patch) | |
tree | d931badd6ffbe14f8fc5a67039003225b9e621c1 /mesonbuild/mconf.py | |
parent | 64bfc6cf7b6439578191e75cbc05bb96de1c70e2 (diff) | |
download | meson-58a9555ddf49d851a7eb56874df1d0b3f498e53e.zip meson-58a9555ddf49d851a7eb56874df1d0b3f498e53e.tar.gz meson-58a9555ddf49d851a7eb56874df1d0b3f498e53e.tar.bz2 |
UserArrayOption: Small cleanup in value parsing
It is nicer to early raise exception if the value from meson_options.txt
is not a string in "[]" format than duplicating the parser code for both
cases.
Also it was checking for duplicated items only in the user_input case,
but we should also check for dups in the default value from
meson_options.txt.
Diffstat (limited to 'mesonbuild/mconf.py')
0 files changed, 0 insertions, 0 deletions