summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2016-07-14 16:33:38 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2016-07-14 16:33:38 -0400
commitfaa3d43d9c3269d0dba400463ca76f5d0911bf00 (patch)
tree51fc14b133fa91306e32162a3eff995f374769e8 /lib
parenta0584c78a8c1a93ad60f394f054907ecb3b371e7 (diff)
downloadspack-faa3d43d9c3269d0dba400463ca76f5d0911bf00.tar.gz
spack-faa3d43d9c3269d0dba400463ca76f5d0911bf00.tar.bz2
spack-faa3d43d9c3269d0dba400463ca76f5d0911bf00.tar.xz
spack-faa3d43d9c3269d0dba400463ca76f5d0911bf00.zip
package: mention the package that is no concrete
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index 78dfef5829..7f53b461b2 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -911,7 +911,7 @@ class Package(object):
run_tests -- Runn tests within the package's install()
"""
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
if self.spec.external: