+1, because I wrote an identical patch that's already in the "master" branch, last week. (4ac8e2c3)
On Mon, Apr 19, 2010 at 11:08 AM, Markus Roberts <[email protected]> wrote: > The new to_yaml method doesn't take format arguments (as they are > unnneeded). > > Signed-off-by: Markus Roberts <[email protected]> > --- > lib/puppet/network/handler/master.rb | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lib/puppet/network/handler/master.rb > b/lib/puppet/network/handler/master.rb > index e21e1e6..3b51822 100644 > --- a/lib/puppet/network/handler/master.rb > +++ b/lib/puppet/network/handler/master.rb > @@ -66,7 +66,7 @@ class Puppet::Network::Handler > > case format > when "yaml" > - return CGI.escape(catalog.extract.to_yaml(:UseBlock => > true)) > + return CGI.escape(catalog.extract.to_yaml) > when "marshal" > return CGI.escape(Marshal.dump(catalog.extract)) > else > -- > 1.6.4 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<puppet-dev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
