From cedbded9d75c73cae9f0b6680ece4152763dd455 Mon Sep 17 00:00:00 2001 From: Greg Becker Date: Thu, 25 Feb 2021 19:10:55 -0800 Subject: typo fix (#21967) --- lib/spack/spack/util/module_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2