diff options
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/coredata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py index 5365f6d..f1cf0e0 100644 --- a/mesonbuild/coredata.py +++ b/mesonbuild/coredata.py @@ -191,7 +191,7 @@ class UserUmaskOption(UserIntegerOption, UserOption[T.Union[str, OctalInt]]): return format(self.value, '04o') def validate_value(self, value: T.Any) -> T.Union[str, OctalInt]: - if value is None or value == 'preserve': + if value == 'preserve': return 'preserve' return OctalInt(super().validate_value(value)) |