From 7ebf6984d078dc9189287229ab1a3f98575ecb94 Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Thu, 26 Nov 2020 13:50:39 +0100 Subject: [PATCH] Lint --- plugins/modules/ec2_group.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/modules/ec2_group.py b/plugins/modules/ec2_group.py index 0cb0baec31e..70453e972a1 100644 --- a/plugins/modules/ec2_group.py +++ b/plugins/modules/ec2_group.py @@ -1227,7 +1227,7 @@ def main(): before['tags'] = boto3_tag_list_to_ansible_dict(before.get('tags', [])) try: if not module.check_mode: - client.delete_security_group(aws_retry=True,GroupId=group['GroupId']) + client.delete_security_group(aws_retry=True, GroupId=group['GroupId']) except (BotoCoreError, ClientError) as e: module.fail_json_aws(e, msg="Unable to delete security group '%s'" % group) else: @@ -1337,7 +1337,8 @@ def main(): desired_ingress = deepcopy(named_tuple_ingress_list) desired_egress = deepcopy(named_tuple_egress_list) - changed |= update_rule_descriptions(module, client, group['GroupId'], present_ingress, named_tuple_ingress_list, present_egress, named_tuple_egress_list) + changed |= update_rule_descriptions(module, client, group['GroupId'], present_ingress, + named_tuple_ingress_list, present_egress, named_tuple_egress_list) # Revoke old rules changed |= remove_old_permissions(client, module, revoke_ingress, revoke_egress, group['GroupId'])