Fixed typo bug. Made error comment more explicit

This commit is contained in:
Elizabeth F 2016-03-13 19:38:05 -04:00 committed by citibeth
parent a6389eb7de
commit 3383486adc

View file

@ -75,8 +75,8 @@ def diy(self, args):
edit_package(spec.name, spack.repo.first_repo(), None, True) edit_package(spec.name, spack.repo.first_repo(), None, True)
return return
if not spec.version.concrete: if not spec.versions.concrete:
tty.die("spack diy spec must have a single, concrete version.") tty.die("spack spconfig spec must have a single, concrete version. Did you forget a package version number?")
spec.concretize() spec.concretize()
package = spack.repo.get(spec) package = spack.repo.get(spec)