Fix error code

This commit is contained in:
Ines Montani 2020-07-28 16:25:12 +02:00
parent 441345a087
commit a56beb68df

View File

@ -406,7 +406,7 @@ def merge_pipe_requirements(pipe_requirements: Dict[str, Iterable[str]]) -> List
try: try:
req = Requirement(req_str) req = Requirement(req_str)
except InvalidRequirement: except InvalidRequirement:
raise ValueError(Errors.E952.format(name=name, req=req_str)) raise ValueError(Errors.E951.format(name=name, req=req_str))
if req.name not in result: if req.name not in result:
result[req.name] = req result[req.name] = req
else: else: