From f194413f87c738d7118b532ed1f6dcc9629458ed Mon Sep 17 00:00:00 2001 From: Michael Champanis Date: Mon, 5 Dec 2022 01:47:27 +0200 Subject: [PATCH] dependencies: only print not_found_message once Due to an accidentally repeated line it would print twice unless required. Fixes #8150 --- mesonbuild/interpreter/interpreter.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index d5afaf3af..1228caa6a 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -1706,7 +1706,6 @@ class Interpreter(InterpreterBase, HoldableObject): assert isinstance(d, Dependency) if not d.found() and not_found_message: self.message_impl([not_found_message]) - self.message_impl([not_found_message]) # Ensure the correct include type if 'include_type' in kwargs: wanted = kwargs['include_type']