language/python: bug fix
Fixes a bug introduced in 09570fc7a66af8c43626a869888ebc484745c587.
This commit is contained in:
		
							parent
							
								
									64b6e25010
								
							
						
					
					
						commit
						797c77761a
					
				@ -175,6 +175,7 @@ module Language
 | 
			
		||||
      # case where it's not clear whether python or python@x.y should be the
 | 
			
		||||
      # default guess.
 | 
			
		||||
      def virtualenv_install_with_resources(using: nil, system_site_packages: true)
 | 
			
		||||
        python = using
 | 
			
		||||
        if python.nil?
 | 
			
		||||
          wanted = python_names.select { |py| needs_python?(py) }
 | 
			
		||||
          raise FormulaUnknownPythonError, self if wanted.empty?
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user