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).
This commit is contained in:
parent
ed9d125b9c
commit
e6c15b27e6
|
@ -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…
Reference in New Issue