aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cuda.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-09-15 00:32:57 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-10-04 16:29:31 -0400
commit4ab70c5512f147c7dded62817e54724830740dfd (patch)
treecd664850739d7a989cd6348f1b12db4aab5fb0fb /mesonbuild/compilers/cuda.py
parentc582abbbcf7cb8e76f02fe87bb3d6a31fc44fff7 (diff)
downloadmeson-4ab70c5512f147c7dded62817e54724830740dfd.zip
meson-4ab70c5512f147c7dded62817e54724830740dfd.tar.gz
meson-4ab70c5512f147c7dded62817e54724830740dfd.tar.bz2
fix extra whitespace
discovered via flake8 --select E303
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
-rw-r--r--mesonbuild/compilers/cuda.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py
index 485bbfb..af607a5 100644
--- a/mesonbuild/compilers/cuda.py
+++ b/mesonbuild/compilers/cuda.py
@@ -356,7 +356,6 @@ class CudaCompiler(Compiler):
xflags.append(flag)
continue
-
# Handle breakup of flag-values into a flag-part and value-part.
if flag[:1] not in '-/':
# This is not a flag. It's probably a file input. Pass it through.
@@ -425,10 +424,8 @@ class CudaCompiler(Compiler):
# The above should securely handle GCC's -Wl, -Wa, -Wp, arguments.
continue
-
assert val is not None # Should only trip if there is a missing argument.
-
# Take care of the various NVCC-supported flags that need special handling.
flag = self._FLAG_LONG2SHORT_WITHARGS.get(flag,flag)