diff options
| author | Adam Vandenberg | 2011-06-08 11:34:01 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-08 11:34:01 -0700 |
| commit | 760bbb4e36c73e27eb6a4c1cf0f8be163117c61b (patch) | |
| tree | fbfb482bba93c04615ec290a7edb681be74ca85f /Library | |
| parent | 5d5a8ed32f65f1ed337196a7c75686e18c749754 (diff) | |
| download | brew-760bbb4e36c73e27eb6a4c1cf0f8be163117c61b.tar.bz2 | |
Remove debugging puts
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 29b5e1bd9..a381ce3b7 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -403,9 +403,7 @@ class Formula begin klass_name = self.class_s(name) klass = Object.const_get klass_name - rescue NameError => e - puts "NameError" - puts e + rescue NameError # TODO really this text should be encoded into the exception # and only shown if the UI deems it correct to show it onoe "class \"#{klass_name}\" expected but not found in #{name}.rb" @@ -415,9 +413,7 @@ class Formula return klass.new(name) if install_type == :from_name return klass.new(name, target_file) - rescue LoadError => e - puts "LoadError" - puts e + rescue LoadError raise FormulaUnavailableError.new(name) end |
