diff options
author | Nick Lewis <nick@puppetlabs.com> | 2011-02-03 21:22:47 -0800 |
---|---|---|
committer | Nick Lewis <nick@puppetlabs.com> | 2011-02-03 21:33:17 -0800 |
commit | fd0bfdec4512ee0927be6c181e99b96be26363aa (patch) | |
tree | 367fc836352dca49abca847bfd46d8251ba76bae /lib/puppet/util | |
parent | d64f4a9024d738d9184f822f1d26e404a403d256 (diff) | |
parent | 70a43c4b0d3018a39e29c50b1caf7dec38694323 (diff) | |
download | puppet-fd0bfdec4512ee0927be6c181e99b96be26363aa.tar.gz puppet-fd0bfdec4512ee0927be6c181e99b96be26363aa.tar.xz puppet-fd0bfdec4512ee0927be6c181e99b96be26363aa.zip |
Merge branch '2.6.x' into next
Conflicts:
lib/puppet/util/zaml.rb
Diffstat (limited to 'lib/puppet/util')
-rw-r--r-- | lib/puppet/util/zaml.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/util/zaml.rb b/lib/puppet/util/zaml.rb index 2155e989c..bbb2af2d2 100644 --- a/lib/puppet/util/zaml.rb +++ b/lib/puppet/util/zaml.rb @@ -60,6 +60,7 @@ class ZAML def initialize(obj,indent) @indent = indent @this_label_number = nil + @obj = obj # prevent garbage collection so that object id isn't reused end def to_s @this_label_number ? ('&id%03d%s' % [@this_label_number, @indent]) : '' |