diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-11-15 13:17:08 -0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-11-16 01:20:03 +0200 |
commit | aaac5538bf143289dce3560edf54be8e2f2577b7 (patch) | |
tree | d460a9b6c2b06e3f36554ebc48834b5487c6ae96 /mesonbuild/modules/gnome.py | |
parent | bd5e5206729f4eaa1e9711c0ef3a5872b01e83f9 (diff) | |
download | meson-aaac5538bf143289dce3560edf54be8e2f2577b7.zip meson-aaac5538bf143289dce3560edf54be8e2f2577b7.tar.gz meson-aaac5538bf143289dce3560edf54be8e2f2577b7.tar.bz2 |
modules/gnome: Add back deprecation message
This looks like it was probably removed in a bad rebase
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r-- | mesonbuild/modules/gnome.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index fab5389..70d8c9c 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -1045,6 +1045,8 @@ class GnomeModule(ExtensionModule): def yelp(self, state: 'ModuleState', args: T.Tuple[str, T.List[str]], kwargs: 'Yelp') -> ModuleReturnValue: project_id = args[0] sources = kwargs['sources'] + if args[1]: + FeatureDeprecated.single_use('gnome.yelp more than one positional argument', '0.60.0', 'use the "sources" keyword argument instead.') if not sources: sources = args[1] if not sources: |