~bkerensa/ubuntu/raring/puppet/new-upstream-release

« back to all changes in this revision

Viewing changes to lib/puppet/util/zaml.rb

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2010-10-21 12:52:13 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20101021125213-x5pjaatmuv0i79jv
Tags: 2.6.3~rc1-0ubuntu1
* New upstream version
* debian/control:
  - move all puppet dependencies to puppet-common since all the code is
    actually located in puppet-common. 
  - move libaugeas from a recommend to a dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
        when self =~ /\n/
244
244
          if self[-1..-1] == "\n" then z.emit('|+') else z.emit('|-') end
245
245
          z.nested { split("\n",-1).each { |line| z.nl; z.emit(line.chomp("\n")) } }
246
 
          z.nl
247
246
        else
248
247
          z.emit(self)
249
248
      end