From aaac5538bf143289dce3560edf54be8e2f2577b7 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 15 Nov 2021 13:17:08 -0800 Subject: [PATCH] modules/gnome: Add back deprecation message This looks like it was probably removed in a bad rebase --- mesonbuild/modules/gnome.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index fab5389d2..70d8c9cdb 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: