diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-09-15 00:32:57 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-04 16:29:31 -0400 |
commit | 4ab70c5512f147c7dded62817e54724830740dfd (patch) | |
tree | cd664850739d7a989cd6348f1b12db4aab5fb0fb /mesonbuild/compilers/cuda.py | |
parent | c582abbbcf7cb8e76f02fe87bb3d6a31fc44fff7 (diff) | |
download | meson-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.py | 3 |
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) |