diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/util/module_cmd.py | 2 |
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 |