Minor update.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
This commit is contained in:
Krzysztof Wilczynski 2011-04-25 03:46:46 +01:00
parent 87a825e609
commit 1a8617404c

View file

@ -42,7 +42,7 @@ module Puppet::Parser::Functions
(start .. stop).each { |i| indices_list << i.to_i }
else
# Only positive numbers allowed ...
# Only positive numbers allowed in this case ...
if not i.match(/^\d+$/)
raise(Puppet::ParseError, 'collect_indices(): Unknown format ' +
'of given index')