diff options
author | Luke Kanies <luke@madstop.com> | 2008-10-31 16:01:28 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-10-31 16:01:28 -0500 |
commit | e76cac7df102389b7ee487be4031caf0e7e2ab04 (patch) | |
tree | 0b9bd8d260613a5b41d9c72fa984065e5cb2d5f4 /lib/puppet/parser/ast/astarray.rb | |
parent | 801b8a643d353176675023adaa25f26d0ec67403 (diff) | |
parent | f0635179b60f5cf30d1f7070f4c3c998ad5131c0 (diff) | |
download | puppet-e76cac7df102389b7ee487be4031caf0e7e2ab04.tar.gz puppet-e76cac7df102389b7ee487be4031caf0e7e2ab04.tar.xz puppet-e76cac7df102389b7ee487be4031caf0e7e2ab04.zip |
Merge branch '0.24.x'
Conflicts:
CHANGELOG
Diffstat (limited to 'lib/puppet/parser/ast/astarray.rb')
-rw-r--r-- | lib/puppet/parser/ast/astarray.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/puppet/parser/ast/astarray.rb b/lib/puppet/parser/ast/astarray.rb index 8f09aa922..0fccbca75 100644 --- a/lib/puppet/parser/ast/astarray.rb +++ b/lib/puppet/parser/ast/astarray.rb @@ -30,10 +30,9 @@ class Puppet::Parser::AST items << child end } - rets = items.flatten.collect { |child| child.safeevaluate(scope) - } + }.flatten return rets.reject { |o| o.nil? } end |