aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-06-08 11:34:01 -0700
committerAdam Vandenberg2011-06-08 11:34:01 -0700
commit58c82dfce29b950462b9af8e3a7ed0019a38ddcc (patch)
tree15c0a903d40d49684409ad240686ed567b2cb1fa /Library
parent45cf37b28af5c394403bacc8f148ca2d4c7daefd (diff)
downloadhomebrew-58c82dfce29b950462b9af8e3a7ed0019a38ddcc.tar.bz2
Remove debugging puts
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb8
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