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
commit760bbb4e36c73e27eb6a4c1cf0f8be163117c61b (patch)
treefbfb482bba93c04615ec290a7edb681be74ca85f /Library
parent5d5a8ed32f65f1ed337196a7c75686e18c749754 (diff)
downloadbrew-760bbb4e36c73e27eb6a4c1cf0f8be163117c61b.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