python: remove package_available? logic

It was added in https://github.com/Homebrew/legacy-homebrew/pull/37345 for
a use case discussed in https://github.com/Homebrew/legacy-homebrew/pull/37340
that never seems to have actually emerged. I can find no reference of it
ever having been used, despite it existing for 2+ years here.
This commit is contained in:
Dominyk Tiller 2017-12-13 06:16:02 +00:00
parent 7b558e0522
commit 5a018f8650
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

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