aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-05-02 21:34:48 -0500
committerJack Nagel2013-05-02 21:34:48 -0500
commit4e16c3de7ce333f606d63b9f04136bb1d528cdfc (patch)
treeca760142e8e04c84793556dd3fe529fca1650b51 /Library
parent3708f2fe8e84a3e93b19bc48eaa8e1d38f015b03 (diff)
downloadhomebrew-4e16c3de7ce333f606d63b9f04136bb1d528cdfc.tar.bz2
info: re-raise on blacklist miss
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/info.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index ef9adc591..535f52b17 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -35,8 +35,11 @@ module Homebrew extend self
info_formula Formula.factory(f)
rescue FormulaUnavailableError
# No formula with this name, try a blacklist lookup
- blacklist = blacklisted?(f)
- puts blacklist if blacklist
+ if (blacklist = blacklisted?(f))
+ puts blacklist
+ else
+ raise
+ end
end
end
end