From 5e38d5a6dd209dcd388e06f21579a4f1e21c3070 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Fri, 3 Jan 2020 20:32:59 +0530 Subject: [PATCH] lambda_info: Remove unused variable and import (#66124) * Clean up residual code from #64548 Signed-off-by: Abhijeet Kasurde --- lib/ansible/modules/cloud/amazon/lambda_info.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/lambda_info.py b/lib/ansible/modules/cloud/amazon/lambda_info.py index 488a34925d..fce33453c2 100644 --- a/lib/ansible/modules/cloud/amazon/lambda_info.py +++ b/lib/ansible/modules/cloud/amazon/lambda_info.py @@ -87,7 +87,6 @@ from ansible.module_utils.aws.core import AnsibleAWSModule from ansible.module_utils.ec2 import camel_dict_to_snake_dict, get_aws_connection_info, boto3_conn import json import datetime -import sys import re @@ -366,8 +365,6 @@ def main(): except ClientError as e: module.fail_json_aws(e, "trying to set up boto connection") - this_module = sys.modules[__name__] - invocations = dict( aliases='alias_details', all='all_details',