aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-26 20:32:13 -0700
committerAdam Vandenberg2013-06-26 20:32:13 -0700
commitad291d7f06acefad08453d781b3bbc70edc71238 (patch)
treea88a8163140e15a0ebbc81ae68ad987ea937c6ac /Library
parent919aac0b8969550e1db4a21d10ab404bff88e4ed (diff)
downloadbrew-ad291d7f06acefad08453d781b3bbc70edc71238.tar.bz2
Remove unused guard
Closes Homebrew/homebrew#20716.
Diffstat (limited to 'Library')
-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.