summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast/branch.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-02-08 15:57:13 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-02-08 15:57:13 +0000
commit7ca3d3dfc54c32b2e431345b919f9eaafdf327ff (patch)
treec6d6ebbba62bc44f746f80344153cb75bd339e87 /lib/puppet/parser/ast/branch.rb
parent195f2e93b603ff873c4de36016b3543df62549e0 (diff)
downloadpuppet-7ca3d3dfc54c32b2e431345b919f9eaafdf327ff.tar.gz
puppet-7ca3d3dfc54c32b2e431345b919f9eaafdf327ff.tar.xz
puppet-7ca3d3dfc54c32b2e431345b919f9eaafdf327ff.zip
Fixing bug that occurs with only one argument
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@878 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/ast/branch.rb')
-rw-r--r--lib/puppet/parser/ast/branch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/ast/branch.rb b/lib/puppet/parser/ast/branch.rb
index deb8dbadd..941c00a68 100644
--- a/lib/puppet/parser/ast/branch.rb
+++ b/lib/puppet/parser/ast/branch.rb
@@ -31,7 +31,7 @@ class Puppet::Parser::AST
@children.each { |child|
unless child.is_a?(AST)
raise Puppet::DevError,
- "child %s is not an ast" % child
+ "child %s is a %s instead of ast" % [child, child.class]
end
}
end