Fix pep8 error in ec2_vpc
This commit is contained in:
parent
2bd830369a
commit
db28902044
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ def create_vpc(module, vpc_conn):
|
|||
|
||||
# Associate with subnets
|
||||
for sn in rt['subnets']:
|
||||
rsn = vpc_conn.get_all_subnets(filters={'cidr': sn })
|
||||
rsn = vpc_conn.get_all_subnets(filters={'cidr': sn})
|
||||
if len(rsn) != 1:
|
||||
module.fail_json(
|
||||
msg='The subnet {0} to associate with route_table {1} ' \
|
||||
|
|
Loading…
Reference in a new issue