From 1a8617404c393c9efdbebe9d1d9b5c9c54e536de Mon Sep 17 00:00:00 2001 From: Krzysztof Wilczynski Date: Mon, 25 Apr 2011 03:46:46 +0100 Subject: Minor update. Signed-off-by: Krzysztof Wilczynski --- collect_indices.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collect_indices.rb b/collect_indices.rb index 39cf54a..947fb89 100644 --- a/collect_indices.rb +++ b/collect_indices.rb @@ -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') -- cgit v1.2.3