[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Daniel Pittman
daniel at puppetlabs.com
Tue May 10 08:13:20 UTC 2011
The following commit has been merged in the experimental branch:
commit 26db6456d22b95486646ae5b8b001acb2051c4da
Author: Daniel Pittman <daniel at puppetlabs.com>
Date: Mon Apr 11 11:26:25 2011 -0700
(#6962) render prints the rval; fix help subcommand.
The face application base uses render to transform the returned object to a
form where #to_s produces the output intended for the end user; we were
actually printing in the method instead, leading to an extraneous 'nil' at the
end of the output...
Paired-With: Matt Robinson <matt at puppetlabs.com>
diff --git a/lib/puppet/application/help.rb b/lib/puppet/application/help.rb
index 69905af..b3666f1 100644
--- a/lib/puppet/application/help.rb
+++ b/lib/puppet/application/help.rb
@@ -2,6 +2,6 @@ require 'puppet/application/faces_base'
class Puppet::Application::Help < Puppet::Application::FacesBase
def render(result)
- puts result.join("\n")
+ result.join("\n")
end
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list