summaryrefslogtreecommitdiff
path: root/boto/ec2
diff options
context:
space:
mode:
authorDaniel Lindsley <daniel@toastdriven.com>2013-09-13 15:08:53 -0700
committerDaniel Lindsley <daniel@toastdriven.com>2013-09-13 15:08:53 -0700
commit0a52c82114fb6777b22fc078a6e3232d37c3d5c7 (patch)
treee073e48c7a16a2aae038cfc4a327f00ca6fd13d6 /boto/ec2
parent2685711c3fc2ee682f3d7f588821a54fb3046ce1 (diff)
downloadboto-0a52c82114fb6777b22fc078a6e3232d37c3d5c7.tar.gz
Fixes #1722 - Missed a place where ``dry_run`` is supposed to be supplied.
Diffstat (limited to 'boto/ec2')
-rw-r--r--boto/ec2/securitygroup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/boto/ec2/securitygroup.py b/boto/ec2/securitygroup.py
index 3d93faa2..f1e81cd9 100644
--- a/boto/ec2/securitygroup.py
+++ b/boto/ec2/securitygroup.py
@@ -348,7 +348,8 @@ class IPPermissions(object):
else:
setattr(self, name, value)
- def add_grant(self, name=None, owner_id=None, cidr_ip=None, group_id=None):
+ def add_grant(self, name=None, owner_id=None, cidr_ip=None, group_id=None,
+ dry_run=False):
grant = GroupOrCIDR(self)
grant.owner_id = owner_id
grant.group_id = group_id