package: mention the package that is no concrete
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user