Fixed typo bug. Made error comment more explicit
This commit is contained in:
parent
0426796d9f
commit
6f26c45143
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user