aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-07-31 14:03:22 +0100
committerMax Howell2009-07-31 14:03:22 +0100
commitd082abbbe85013363c0c1cfbd39861c3e0a00136 (patch)
treec42c0175b7f996c43f370bc2c67b1afef9185a88
parentc4972e218f0fbea3deae73e9af3efb2ae1cecf18 (diff)
downloadbrew-d082abbbe85013363c0c1cfbd39861c3e0a00136.tar.bz2
FIX only claim that Formula doesn't exist if it was a loaderror
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 29171757b..ed7dd158f 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -245,7 +245,7 @@ class Formula <UnidentifiedFormula
def self.create name
require Formula.path(name)
return eval(Formula.class(name)).new(name)
- rescue
+ rescue LoadError
raise "No formula for #{name}"
end
end