From 907a68bcf17da27d7f76a0696654803c901779a4 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 2 Jul 2018 02:17:19 +0530 Subject: FeatureNew: Fix method names for some feature checks --- mesonbuild/modules/python.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mesonbuild/modules/python.py') diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index b9b6a4fd3..9a90fe962 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -50,7 +50,6 @@ def run_command(python, command): class PythonDependency(ExternalDependency): - @FeatureNew('Python Module', '0.46.0') def __init__(self, python_holder, environment, kwargs): super().__init__('python', environment, None, kwargs) self.name = 'python' @@ -432,6 +431,8 @@ class PythonInstallation(ExternalProgramHolder, InterpreterObject): class PythonModule(ExtensionModule): + + @FeatureNew('Python Module', '0.46.0') def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.snippets.add('find_installation') -- cgit v1.2.3