Minor update.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
This commit is contained in:
parent
87a825e609
commit
1a8617404c
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue