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