summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMario Melara <maamelara@gmail.com>2016-05-26 13:58:17 -0700
committerMario Melara <maamelara@gmail.com>2016-05-26 13:58:17 -0700
commit9c1da4fa4cdfe32d8a7a0026f457066b0cac7e8e (patch)
treeb081eb5d25659a2165b1bf3a5e82fa8f4ea78c55 /lib
parent189e8b3f349c8102772fa995fd8ee79df3c242c0 (diff)
downloadspack-9c1da4fa4cdfe32d8a7a0026f457066b0cac7e8e.tar.gz
spack-9c1da4fa4cdfe32d8a7a0026f457066b0cac7e8e.tar.bz2
spack-9c1da4fa4cdfe32d8a7a0026f457066b0cac7e8e.tar.xz
spack-9c1da4fa4cdfe32d8a7a0026f457066b0cac7e8e.zip
Corrected parantheses wrapping
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index 073f73a91a..4483b9d132 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -366,7 +366,7 @@ def get_rpaths(pkg):
if os.path.isdir(d.prefix.lib64))
# Second module is our compiler mod name. We use that to get rpaths from
# module show output.
- if pkg.compiler.modules and len(pkg.compiler.modules > 1):
+ if pkg.compiler.modules and len(pkg.compiler.modules) > 1:
rpaths.append(get_path_from_module(pkg.compiler.modules[1]))
return rpaths