diff options
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-25 03:46:46 +0100 |
---|---|---|
committer | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-25 03:46:46 +0100 |
commit | 1a8617404c393c9efdbebe9d1d9b5c9c54e536de (patch) | |
tree | 9ba71851ccfc1b6181c8dae8ef703a5f79eecc3e | |
parent | 87a825e6094ead24da36b64937bbd24ccd9d7d39 (diff) | |
download | puppet-stdlib-1a8617404c393c9efdbebe9d1d9b5c9c54e536de.tar.gz puppet-stdlib-1a8617404c393c9efdbebe9d1d9b5c9c54e536de.tar.bz2 |
Minor update.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
-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') |