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).
pull/6289/head
Daniel Mensinger 5 years ago committed by Jussi Pakkanen
parent ed9d125b9c
commit e6c15b27e6
  1. 2
      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'

Loading…
Cancel
Save