Merge pull request #3573 from DomT4/python_dead_code

python: remove package_available? logic
This commit is contained in:
Mike McQuaid 2017-12-13 08:50:05 +00:00 committed by GitHub
commit 4b849dacd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,10 +71,6 @@ module Language
] ]
end end
def self.package_available?(python, module_name)
quiet_system python, "-c", "import #{module_name}"
end
# Mixin module for {Formula} adding virtualenv support features. # Mixin module for {Formula} adding virtualenv support features.
module Virtualenv module Virtualenv
def self.included(base) def self.included(base)