diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-04-13 10:49:00 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-04-13 10:49:00 +0200 |
commit | fcd58a95dd879cff6e3e117f1b3b2f8326ab636b (patch) | |
tree | 167371a3b6312b0c67d4a88693584f4d7221e453 /lib | |
parent | 41f365112c07dc6e144da92611018ee1fe6bf30b (diff) | |
parent | c96dd4317405810e4eac0bab79005b0606b4d657 (diff) | |
download | spack-fcd58a95dd879cff6e3e117f1b3b2f8326ab636b.tar.gz spack-fcd58a95dd879cff6e3e117f1b3b2f8326ab636b.tar.bz2 spack-fcd58a95dd879cff6e3e117f1b3b2f8326ab636b.tar.xz spack-fcd58a95dd879cff6e3e117f1b3b2f8326ab636b.zip |
Merge branch 'develop' of https://github.com/LLNL/spack into features/custom_modulefile_from_config
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/spack/spack/__init__.py b/lib/spack/spack/__init__.py index aee11f061f..9108e1d0e3 100644 --- a/lib/spack/spack/__init__.py +++ b/lib/spack/spack/__init__.py @@ -136,9 +136,7 @@ for path in _tmp_candidates: # don't add a second username if it's already unique by user. if not _tmp_user in path: tmp_dirs.append(join_path(path, '%u', 'spack-stage')) - -for path in _tmp_candidates: - if not path in tmp_dirs: + else: tmp_dirs.append(join_path(path, 'spack-stage')) # Whether spack should allow installation of unsafe versions of |