diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-07-21 12:26:20 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2021-07-21 13:33:06 -0400 |
commit | 0183954ea1219b2f86c8c7e15431a0908a8aa776 (patch) | |
tree | 3e400584525a487e1081e646f0c486df044ba210 /mesonbuild/interpreterbase | |
parent | 9afd589c8b77d1e9d279813a71ec1451476a0be8 (diff) | |
download | meson-0183954ea1219b2f86c8c7e15431a0908a8aa776.zip meson-0183954ea1219b2f86c8c7e15431a0908a8aa776.tar.gz meson-0183954ea1219b2f86c8c7e15431a0908a8aa776.tar.bz2 |
Fix meson.version().version_compare() regression in subproject
Diffstat (limited to 'mesonbuild/interpreterbase')
-rw-r--r-- | mesonbuild/interpreterbase/baseobjects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreterbase/baseobjects.py b/mesonbuild/interpreterbase/baseobjects.py index e65e4cb..8b1293c 100644 --- a/mesonbuild/interpreterbase/baseobjects.py +++ b/mesonbuild/interpreterbase/baseobjects.py @@ -82,7 +82,7 @@ class ObjectHolder(InterpreterObject, T.Generic[InterpreterObjectTypeVar]): return f'<[{type(self).__name__}] holds [{type(self.held_object).__name__}]: {self.held_object!r}>' class RangeHolder(MesonInterpreterObject): - def __init__(self, start: int, stop: int, step: int, *, subproject: T.Optional[str] = None) -> None: + def __init__(self, start: int, stop: int, step: int, *, subproject: str) -> None: super().__init__(subproject=subproject) self.range = range(start, stop, step) |