modules/gnome: Add back deprecation message

This looks like it was probably removed in a bad rebase
pull/9580/head
Dylan Baker 3 years ago committed by Jussi Pakkanen
parent bd5e520672
commit aaac5538bf
  1. 2
      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:

Loading…
Cancel
Save