summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/spec.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index 9e89feb148..c757e6b0d6 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -3395,7 +3395,8 @@ class InvalidHashError(SpecError):
class NoSuchHashError(SpecError):
def __init__(self, hash):
super(NoSuchHashError, self).__init__(
- "No installed spec matches the hash: '%s'")
+ "No installed spec matches the hash: '%s'"
+ % hash)
class RedundantSpecError(SpecError):