Permalink
Browse files

Fixed a typo bug in get_all_subnets method's contruction of params. S…

…ee github issue #6.
  • Loading branch information...
1 parent 768950c commit 6edb076341f3572827c4a9f08580cbc64295771d Mitch Garnaat committed Jan 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 boto/vpc/__init__.py
@@ -287,7 +287,7 @@ def get_all_subnets(self, subnet_ids=None, filters=None):
i = 1
for filter in filters:
params[('Filter.%d.Key' % i)] = filter[0]
- params[('Filter.%d.Value.1')] = filter[1]
+ params[('Filter.%d.Value.1' % i)] = filter[1]
i += 1
return self.get_list('DescribeSubnets', params, [('item', Subnet)])

0 comments on commit 6edb076

Please sign in to comment.