interpreter: Fix permitted kwargs in dependency.get_variable

default -> default_value
pull/5722/head
Dylan Baker 6 years ago committed by Nirbheek Chauhan
parent 03f3c7ad62
commit b3ea27f596
  1. 2
      mesonbuild/interpreter.py

@ -444,7 +444,7 @@ class DependencyHolder(InterpreterObject, ObjectHolder):
@FeatureNew('dep.get_variable', '0.51.0')
@noPosargs
@permittedKwargs({'cmake', 'pkgconfig', 'configtool', 'default', 'pkgconfig_define'})
@permittedKwargs({'cmake', 'pkgconfig', 'configtool', 'default_value', 'pkgconfig_define'})
def variable_method(self, args, kwargs):
return self.held_object.get_variable(**kwargs)

Loading…
Cancel
Save