diff options
author | Nicolas Schneider <nioncode+git@gmail.com> | 2019-01-01 21:01:32 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-06 22:35:04 +0200 |
commit | 735e138382c2876c181edd09e6bf9bb76225be6d (patch) | |
tree | 9c4b6a2f8eb6118a9643847054424db46b2a1e69 /mesonbuild/mconf.py | |
parent | 142cf1459fae41bb9cdfcc9dd445f61dc56db8c4 (diff) | |
download | meson-735e138382c2876c181edd09e6bf9bb76225be6d.zip meson-735e138382c2876c181edd09e6bf9bb76225be6d.tar.gz meson-735e138382c2876c181edd09e6bf9bb76225be6d.tar.bz2 |
fix meson configure exception when install_umask is not an int
Diffstat (limited to 'mesonbuild/mconf.py')
-rw-r--r-- | mesonbuild/mconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 28589da..1257fd3 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -106,7 +106,7 @@ class Conf: v = o.value c = o.choices if isinstance(o, coredata.UserUmaskOption): - v = format(v, '04o') + v = v if isinstance(v, str) else format(v, '04o') arr.append({'name': k, 'descr': d, 'value': v, 'choices': c}) self.print_aligned(arr) |