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/gnome.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/gnome.py')
-rw-r--r-- | mesonbuild/modules/gnome.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index ff4c681..5a744fe 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -1162,7 +1162,7 @@ class GnomeModule(ExtensionModule): modulename = args[0] if not isinstance(modulename, str): raise MesonException('Argument must be a string') - return ModuleReturnValue(os.path.join('share/gtk-doc/html', modulename), []) + return os.path.join('share/gtk-doc/html', modulename) @staticmethod def _unpack_args(arg, kwarg_name, kwargs, expend_file_state=None): |