package: mention the package that is no concrete
This commit is contained in:
parent
a0584c78a8
commit
faa3d43d9c
@ -911,7 +911,7 @@ def do_install(self,
|
|||||||
run_tests -- Runn tests within the package's install()
|
run_tests -- Runn tests within the package's install()
|
||||||
"""
|
"""
|
||||||
if not self.spec.concrete:
|
if not self.spec.concrete:
|
||||||
raise ValueError("Can only install concrete packages.")
|
raise ValueError("Can only install concrete packages: %s." % self.spec.name)
|
||||||
|
|
||||||
# No installation needed if package is external
|
# No installation needed if package is external
|
||||||
if self.spec.external:
|
if self.spec.external:
|
||||||
|
Loading…
Reference in New Issue
Block a user