diff options
| author | Max Howell | 2009-07-31 14:03:22 +0100 |
|---|---|---|
| committer | Max Howell | 2009-07-31 14:03:22 +0100 |
| commit | d082abbbe85013363c0c1cfbd39861c3e0a00136 (patch) | |
| tree | c42c0175b7f996c43f370bc2c67b1afef9185a88 | |
| parent | c4972e218f0fbea3deae73e9af3efb2ae1cecf18 (diff) | |
| download | brew-d082abbbe85013363c0c1cfbd39861c3e0a00136.tar.bz2 | |
FIX only claim that Formula doesn't exist if it was a loaderror
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
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 |
