Commit 725bfb8c authored by Jim Fulton's avatar Jim Fulton

Added back IncompatibleVersionError as an alias for

IncompatibleConstraintError.
parent c4628986
...@@ -1294,6 +1294,8 @@ class IncompatibleConstraintError(zc.buildout.UserError): ...@@ -1294,6 +1294,8 @@ class IncompatibleConstraintError(zc.buildout.UserError):
"""A specified version is incompatible with a given requirement. """A specified version is incompatible with a given requirement.
""" """
IncompatibleVersionError = IncompatibleConstraintError # Backward compatibility
def bad_constraint(constraint, requirement): def bad_constraint(constraint, requirement):
logger.error("The constraint, %s, is not consistent with the " logger.error("The constraint, %s, is not consistent with the "
"requirement, %r.", constraint, str(requirement)) "requirement, %r.", constraint, str(requirement))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment