diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-04-09 14:30:58 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-05-28 15:17:10 -0400 |
commit | a734bcfc83a67788f71b5b84a46a4d9727b5ec09 (patch) | |
tree | c36f478aea7a741cbe78d8ba4a5ad0fb5c112d0e /mesonbuild/modules/modtest.py | |
parent | 3340284805b96a4b9b62405f626020276341944c (diff) | |
download | meson-a734bcfc83a67788f71b5b84a46a4d9727b5ec09.zip meson-a734bcfc83a67788f71b5b84a46a4d9727b5ec09.tar.gz meson-a734bcfc83a67788f71b5b84a46a4d9727b5ec09.tar.bz2 |
modules: Stop using ModuleReturnValue where it's not needed
It is only needed in functions that need to add targets to the
interpreter.
Diffstat (limited to 'mesonbuild/modules/modtest.py')
-rw-r--r-- | mesonbuild/modules/modtest.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/modules/modtest.py b/mesonbuild/modules/modtest.py index 533989f..7a4c19d 100644 --- a/mesonbuild/modules/modtest.py +++ b/mesonbuild/modules/modtest.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from . import ModuleReturnValue from . import ExtensionModule from ..interpreterbase import noKwargs @@ -21,8 +20,6 @@ class TestModule(ExtensionModule): @noKwargs def print_hello(self, state, args, kwargs): print('Hello from a Meson module') - rv = ModuleReturnValue(None, []) - return rv def initialize(*args, **kwargs): return TestModule(*args, **kwargs) |