From 7ca3d3dfc54c32b2e431345b919f9eaafdf327ff Mon Sep 17 00:00:00 2001 From: luke Date: Wed, 8 Feb 2006 15:57:13 +0000 Subject: Fixing bug that occurs with only one argument git-svn-id: https://reductivelabs.com/svn/puppet/trunk@878 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/parser/ast/branch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/parser/ast') 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 -- cgit