aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-26 20:32:13 -0700
committerAdam Vandenberg2013-06-26 20:32:13 -0700
commitedfce76fe5ce7f2ed80791c12a23b53f71a87f8e (patch)
tree726540c8e62f60e70785c92ba6cc5abd4d7f11c6
parentce0b989c636c65c6cdf643fb06062a3edc3506c0 (diff)
downloadhomebrew-edfce76fe5ce7f2ed80791c12a23b53f71a87f8e.tar.bz2
Remove unused guard
Closes #20716.
-rw-r--r--Library/Homebrew/bottles.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb
index 33a4f859d..a656e4368 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -28,7 +28,6 @@ def install_bottle? f, warn=false
end
def built_as_bottle? f
- f = Formula.factory f unless f.kind_of? Formula
return false unless f.installed?
tab = Tab.for_keg(f.installed_prefix)
# Need to still use the old "built_bottle" until all bottles are updated.