aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-11-15 13:17:08 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2021-11-16 01:20:03 +0200
commitaaac5538bf143289dce3560edf54be8e2f2577b7 (patch)
treed460a9b6c2b06e3f36554ebc48834b5487c6ae96 /mesonbuild/modules/gnome.py
parentbd5e5206729f4eaa1e9711c0ef3a5872b01e83f9 (diff)
downloadmeson-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.py2
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: