Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove trace messages when loading a recipe file
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@5776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jamis committed Dec 24, 2006
1 parent 455e9d8 commit 8beef00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
@@ -1,5 +1,7 @@
*SVN*

* Remove trace messages when loading a file

* Cleaner error messages for authentication failures and command errors

* Added support for ~/.caprc, also -x and -c switches.
Expand Down
2 changes: 0 additions & 2 deletions lib/capistrano/configuration.rb
Expand Up @@ -146,11 +146,9 @@ def load(*args, &block)
load :string => File.read(file), :name => options[:name] || file

elsif options[:string]
logger.trace "loading configuration #{options[:name] || "<eval>"}"
instance_eval(options[:string], options[:name] || "<eval>")

elsif options[:proc]
logger.trace "loading configuration #{eval("__FILE__", options[:proc])}"
instance_eval(&options[:proc])

else
Expand Down

0 comments on commit 8beef00

Please sign in to comment.