info: re-raise on blacklist miss

This commit is contained in:
Jack Nagel 2013-05-02 21:34:48 -05:00
parent 80a73bea79
commit 9dd7672ae7

View File

@ -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