[WIP] pypi: more name normalization
Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
		
							parent
							
								
									6e798a7ab8
								
							
						
					
					
						commit
						ce8834e43e
					
				@ -28,7 +28,7 @@ module PyPI
 | 
			
		||||
        end
 | 
			
		||||
        raise ArgumentError, "Package should be a valid PyPI URL" if match.blank?
 | 
			
		||||
 | 
			
		||||
        @name = match[1]
 | 
			
		||||
        @name = normalize_python_package(match[1])
 | 
			
		||||
        @version = match[2]
 | 
			
		||||
        return
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user