diff options
-rw-r--r-- | collect_indices.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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') |