remove Requirement#pour_bottle?

It's never used since a0a93f1b3b7b2be9b8a319be91086ffe220f8e32.

Closes Homebrew/homebrew#43462.

Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
Xu Cheng 2015-09-01 15:42:41 +08:00
parent 79ea14b738
commit 01d7f4e766
2 changed files with 0 additions and 10 deletions

View File

@ -55,12 +55,6 @@ class Requirement
!!result
end
# Can overridden to optionally prevent a formula with this requirement from
# pouring a bottle.
def pour_bottle?
true
end
# Overriding #fatal? is deprecated.
# Pass a boolean to the fatal DSL method instead.
def fatal?

View File

@ -14,10 +14,6 @@ class PythonRequirement < Requirement
version == Version.new("2.7")
end
def pour_bottle?
build? || system_python?
end
env do
short_version = python_short_version