diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-25 19:06:39 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-26 21:10:27 +0300 |
commit | 7f482824bbd1d21ade16969f0fb0ad23a7065471 (patch) | |
tree | 99e248165fc6f3367124fa7ce2c58a25fe8f4a4c /mesonbuild/modules/modtest.py | |
parent | 50e75baa91b18c4ae537a27b85d32ba82d0441a7 (diff) | |
download | meson-7f482824bbd1d21ade16969f0fb0ad23a7065471.zip meson-7f482824bbd1d21ade16969f0fb0ad23a7065471.tar.gz meson-7f482824bbd1d21ade16969f0fb0ad23a7065471.tar.bz2 |
Add kwarg checker in module code.
Diffstat (limited to 'mesonbuild/modules/modtest.py')
-rw-r--r-- | mesonbuild/modules/modtest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/modules/modtest.py b/mesonbuild/modules/modtest.py index 3e11b70..dd2f215 100644 --- a/mesonbuild/modules/modtest.py +++ b/mesonbuild/modules/modtest.py @@ -14,9 +14,11 @@ from . import ModuleReturnValue from . import ExtensionModule +from . import noKwargs class TestModule(ExtensionModule): + @noKwargs def print_hello(self, state, args, kwargs): print('Hello from a Meson module') rv = ModuleReturnValue(None, []) |