diff options
author | Elizabeth F <rpf2116@columbia.edu> | 2016-03-13 19:38:19 -0400 |
---|---|---|
committer | citibeth <rpf2116@columbia.edu> | 2016-03-13 19:41:09 -0400 |
commit | 6f26c45143e63ee339f9aabc654684056b60654f (patch) | |
tree | 07bd25de850327c284de03342f6f3427aa1a01d4 | |
parent | 0426796d9f6e064f062f4c3b0d27098dfe685d77 (diff) | |
download | spack-6f26c45143e63ee339f9aabc654684056b60654f.tar.gz spack-6f26c45143e63ee339f9aabc654684056b60654f.tar.bz2 spack-6f26c45143e63ee339f9aabc654684056b60654f.tar.xz spack-6f26c45143e63ee339f9aabc654684056b60654f.zip |
Fixed typo bug. Made error comment more explicit
-rw-r--r-- | lib/spack/spack/cmd/spconfig.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/spack/spack/cmd/spconfig.py b/lib/spack/spack/cmd/spconfig.py index 6035a61841..70db48e172 100644 --- a/lib/spack/spack/cmd/spconfig.py +++ b/lib/spack/spack/cmd/spconfig.py @@ -69,10 +69,8 @@ def spconfig(self, args): edit_package(spec.name, spack.repo.first_repo(), None, True) return - print('spec', spec) - - if not spec.version.concrete: - tty.die("spack spconfig 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) |