mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Fix error code
This commit is contained in:
		
							parent
							
								
									441345a087
								
							
						
					
					
						commit
						a56beb68df
					
				| 
						 | 
					@ -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:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user