summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2021-02-25 19:10:55 -0800
committerGitHub <noreply@github.com>2021-02-25 19:10:55 -0800
commitcedbded9d75c73cae9f0b6680ece4152763dd455 (patch)
tree23c4f4b7f59bc04923097225416ebfde9435201b
parent55eae72bb0a2c58cd15fc43d8ca23e90cd84cdfe (diff)
downloadspack-cedbded9d75c73cae9f0b6680ece4152763dd455.tar.gz
spack-cedbded9d75c73cae9f0b6680ece4152763dd455.tar.bz2
spack-cedbded9d75c73cae9f0b6680ece4152763dd455.tar.xz
spack-cedbded9d75c73cae9f0b6680ece4152763dd455.zip
typo fix (#21967)
-rw-r--r--lib/spack/spack/util/module_cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/util/module_cmd.py b/lib/spack/spack/util/module_cmd.py
index babac6543a..96ca98d39d 100644
--- a/lib/spack/spack/util/module_cmd.py
+++ b/lib/spack/spack/util/module_cmd.py
@@ -155,7 +155,7 @@ def path_from_modules(modules):
if candidate_path and not os.path.exists(candidate_path):
msg = ("Extracted path from module does not exist "
- "[module={0}, path={0}]")
+ "[module={0}, path={1}]")
tty.warn(msg.format(module_name, candidate_path))
# If anything is found, then it's the best choice. This means