summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-10-07 23:23:18 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-10-07 23:23:18 -0700
commite8d131ef96e33b5fc7f5f7c31511d2fc9e99cb52 (patch)
tree6c549e02bdaf3320bcf576822e5784d50b042027
parent1801a859666aae832e393a534c47064c68cb1b22 (diff)
downloadspack-e8d131ef96e33b5fc7f5f7c31511d2fc9e99cb52.tar.gz
spack-e8d131ef96e33b5fc7f5f7c31511d2fc9e99cb52.tar.bz2
spack-e8d131ef96e33b5fc7f5f7c31511d2fc9e99cb52.tar.xz
spack-e8d131ef96e33b5fc7f5f7c31511d2fc9e99cb52.zip
Minor bugfix in exception constructor.
-rw-r--r--lib/spack/spack/spec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index 4838fd9946..a0ab38c049 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -1619,7 +1619,7 @@ class UnsatisfiableSpecError(SpecError):
class UnsatisfiableSpecNameError(UnsatisfiableSpecError):
"""Raised when two specs aren't even for the same package."""
def __init__(self, provided, required):
- super(UnsatisfiableVersionSpecError, self).__init__(
+ super(UnsatisfiableSpecNameError, self).__init__(
provided, required, "name")