summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth F <rpf2116@columbia.edu>2016-03-13 19:38:05 -0400
committercitibeth <rpf2116@columbia.edu>2016-03-13 19:39:45 -0400
commit3383486adc86ba03456aae3703c0176620888e77 (patch)
tree83f6e30a05651196d26fff236211b7f44a67c8f0
parenta6389eb7de37330237bf4d9b8dc7d5a04846d3a9 (diff)
downloadspack-3383486adc86ba03456aae3703c0176620888e77.tar.gz
spack-3383486adc86ba03456aae3703c0176620888e77.tar.bz2
spack-3383486adc86ba03456aae3703c0176620888e77.tar.xz
spack-3383486adc86ba03456aae3703c0176620888e77.zip
Fixed typo bug. Made error comment more explicit
-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..199362d915 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 spconfig spec must have a single, concrete version. Did you forget a package version number?")
spec.concretize()
package = spack.repo.get(spec)