summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-07-05 15:45:27 -0700
committerGitHub <noreply@github.com>2016-07-05 15:45:27 -0700
commit2b9d02d59414a6584c569989d806d48019aa5832 (patch)
treeb5c381650d44495958a609fb84ec388c683a6bce
parentcb9c4ac8665254eadebb00644a6243f879dbea7b (diff)
parent1f64f08cb33b2b0160e7b1666f1c0d129919aecb (diff)
downloadspack-2b9d02d59414a6584c569989d806d48019aa5832.tar.gz
spack-2b9d02d59414a6584c569989d806d48019aa5832.tar.bz2
spack-2b9d02d59414a6584c569989d806d48019aa5832.tar.xz
spack-2b9d02d59414a6584c569989d806d48019aa5832.zip
Merge pull request #1173 from willkill07/bugfix/module/spec_typo
(bugfix) fixed typo of spec --> raw_spec
-rw-r--r--lib/spack/spack/cmd/module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/module.py b/lib/spack/spack/cmd/module.py
index 3cefb512c2..70da689b67 100644
--- a/lib/spack/spack/cmd/module.py
+++ b/lib/spack/spack/cmd/module.py
@@ -108,7 +108,7 @@ def module_find(mtype, flags, spec_array):
tty.die("No installed packages match spec %s" % raw_spec)
if len(specs) > 1:
- tty.error("Multiple matches for spec %s. Choose one:" % spec)
+ tty.error("Multiple matches for spec %s. Choose one:" % raw_spec)
for s in specs:
sys.stderr.write(s.tree(color=True))
sys.exit(1)