summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-15 11:33:11 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-15 11:33:11 -0700
commit23ba0c339612ef2f36d2888f2ff02524affc24f3 (patch)
treeb03733175bf322e28c2054cfeef918a44d82a2e6
parentcdd2ea3067f1506242c16a7edd7e48046e09d467 (diff)
parent5c865b9b702695797ab29263fb629b53e56983fb (diff)
downloadspack-23ba0c339612ef2f36d2888f2ff02524affc24f3.tar.gz
spack-23ba0c339612ef2f36d2888f2ff02524affc24f3.tar.bz2
spack-23ba0c339612ef2f36d2888f2ff02524affc24f3.tar.xz
spack-23ba0c339612ef2f36d2888f2ff02524affc24f3.zip
Merge pull request #546 from citibeth/efischer/160313-DIYTypoBug
Small bug in DIY found and fixed.
-rw-r--r--lib/spack/spack/cmd/diy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/cmd/diy.py b/lib/spack/spack/cmd/diy.py
index 2c3a8761ab..45f13e4463 100644
--- a/lib/spack/spack/cmd/diy.py
+++ b/lib/spack/spack/cmd/diy.py
@@ -75,8 +75,8 @@ def diy(self, args):
edit_package(spec.name, spack.repo.first_repo(), None, True)
return
- if not spec.version.concrete:
- tty.die("spack diy spec must have a single, concrete version.")
+ if not spec.versions.concrete:
+ tty.die("spack diy spec must have a single, concrete version. Did you forget a package version number?")
spec.concretize()
package = spack.repo.get(spec)