summaryrefslogtreecommitdiff
path: root/mesonbuild/programs.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2023-08-02 17:20:59 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-08-03 15:42:13 -0400
commit6d7562a02cc6b6e45f2a43c7a29223e75e88c3df (patch)
tree216935d03d12627a314a577ab08bc8e0836e5fde /mesonbuild/programs.py
parent28e6d2be9621dcd1056d6e386576510fd9cd8860 (diff)
downloadmeson-6d7562a02cc6b6e45f2a43c7a29223e75e88c3df.tar.gz
run_command: Remove useless node argument
There is no need to pass it, we already have self.current_node.
Diffstat (limited to 'mesonbuild/programs.py')
-rw-r--r--mesonbuild/programs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/programs.py b/mesonbuild/programs.py
index 13b998193..beb5bc566 100644
--- a/mesonbuild/programs.py
+++ b/mesonbuild/programs.py
@@ -105,7 +105,7 @@ class ExternalProgram(mesonlib.HoldableObject):
if not self.cached_version:
raw_cmd = self.get_command() + ['--version']
if interpreter:
- res = interpreter.run_command_impl(interpreter.current_node, (self, ['--version']),
+ res = interpreter.run_command_impl((self, ['--version']),
{'capture': True,
'check': True,
'env': mesonlib.EnvironmentVariables()},