i18n: Fixed gettext permitted Kwargs list

pull/2089/head
Iñigo Martínez 7 years ago committed by Jussi Pakkanen
parent 9683082c4c
commit b43f4841ba
  1. 2
      mesonbuild/modules/i18n.py

@ -81,7 +81,7 @@ class I18nModule(ExtensionModule):
ct = build.CustomTarget(kwargs['output'] + '_merge', state.subdir, kwargs) ct = build.CustomTarget(kwargs['output'] + '_merge', state.subdir, kwargs)
return ModuleReturnValue(ct, [ct]) return ModuleReturnValue(ct, [ct])
@permittedKwargs({'po_dir', 'data_dirs', 'type', 'languages'}) @permittedKwargs({'po_dir', 'data_dirs', 'type', 'languages', 'args', 'preset'})
def gettext(self, state, args, kwargs): def gettext(self, state, args, kwargs):
if len(args) != 1: if len(args) != 1:
raise coredata.MesonException('Gettext requires one positional argument (package name).') raise coredata.MesonException('Gettext requires one positional argument (package name).')

Loading…
Cancel
Save