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 | 8afbfe227bb4f8848865f95980d51caf569eeff9 (patch) | |
tree | b5267913a712971b230c6bc75b4b7685a5047fb8 /mesonbuild/mconf.py | |
parent | af6665611713c81f4b6144a14d10e0dd67037570 (diff) | |
download | meson-8afbfe227bb4f8848865f95980d51caf569eeff9.zip meson-8afbfe227bb4f8848865f95980d51caf569eeff9.tar.gz meson-8afbfe227bb4f8848865f95980d51caf569eeff9.tar.bz2 |
mconf: Special case UserUmaskOption to print value in octal notation
Diffstat (limited to 'mesonbuild/mconf.py')
-rw-r--r-- | mesonbuild/mconf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index c7d7b3b..e4b62fd 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -110,6 +110,8 @@ class Conf: d = o.description v = o.value c = o.choices + if isinstance(o, coredata.UserUmaskOption): + v = format(v, '04o') arr.append({'name': k, 'descr': d, 'value': v, 'choices': c}) self.print_aligned(arr) |