summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/spec.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index 20e5c3ffa3..88184de30f 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -3128,9 +3128,7 @@ class Spec:
except spack.error.UnsatisfiableSpecError as e:
# Here, the DAG contains two instances of the same package
- # with inconsistent constraints. Users cannot produce
- # inconsistent specs like this on the command line: the
- # parser doesn't allow it. Spack must be broken!
+ # with inconsistent constraints.
raise InconsistentSpecError("Invalid Spec DAG: %s" % e.message) from e
def index(self, deptype="all"):