From e6c15b27e6b9c3697d27d7297b4daaf994eaa2a6 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Wed, 4 Dec 2019 15:24:54 +0100 Subject: [PATCH] lgtm: fix `Mismatch in multiple assignment` error The old version is technically also correct, but this commit makes the intent more explicit (and schould make LGTM happy). --- mesonbuild/dependencies/cuda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/dependencies/cuda.py b/mesonbuild/dependencies/cuda.py index 67b361f3e..5f60a1184 100644 --- a/mesonbuild/dependencies/cuda.py +++ b/mesonbuild/dependencies/cuda.py @@ -94,7 +94,7 @@ class CudaDependency(ExternalDependency): defaults = [(path, version) for (path, version, default) in paths if default] if defaults: - return (*defaults[0], True) + return (defaults[0][0], defaults[0][1], True) platform_msg = 'set the CUDA_PATH environment variable' if self._is_windows() \ else 'set the CUDA_PATH environment variable/create the \'/usr/local/cuda\' symbolic link'