From 017081c914c33a4a9bfaecf66c36ee3463d2fa20 Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Sun, 30 Jan 2022 02:16:55 +0100 Subject: [PATCH] Cleanup unused imports (#896) Cleanup unused imports (#852 / #892) Let's try once more... SUMMARY My local tests are flagging that we've picked up some unused imports again. ISSUE TYPE Feature Pull Request COMPONENT NAME aws_glue_job cloudfront_info rds_option_group_info ADDITIONAL INFORMATION Reviewed-by: Markus Bergholz Reviewed-by: Alina Buzachis --- plugins/modules/aws_glue_job.py | 2 -- plugins/modules/cloudfront_info.py | 1 - plugins/modules/rds_option_group_info.py | 1 - 3 files changed, 4 deletions(-) diff --git a/plugins/modules/aws_glue_job.py b/plugins/modules/aws_glue_job.py index edca5d051d5..4e278c81734 100644 --- a/plugins/modules/aws_glue_job.py +++ b/plugins/modules/aws_glue_job.py @@ -245,9 +245,7 @@ from ansible_collections.amazon.aws.plugins.module_utils.core import AnsibleAWSModule from ansible_collections.amazon.aws.plugins.module_utils.core import is_boto3_error_code -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import ansible_dict_to_boto3_tag_list from ansible_collections.amazon.aws.plugins.module_utils.ec2 import AWSRetry -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import boto3_tag_list_to_ansible_dict from ansible_collections.amazon.aws.plugins.module_utils.ec2 import compare_aws_tags from ansible_collections.amazon.aws.plugins.module_utils.iam import get_aws_account_info diff --git a/plugins/modules/cloudfront_info.py b/plugins/modules/cloudfront_info.py index e9136341c9f..b7914dcceb4 100644 --- a/plugins/modules/cloudfront_info.py +++ b/plugins/modules/cloudfront_info.py @@ -241,7 +241,6 @@ type: dict ''' -from functools import partial import traceback try: diff --git a/plugins/modules/rds_option_group_info.py b/plugins/modules/rds_option_group_info.py index b29479386ff..37e848032c8 100644 --- a/plugins/modules/rds_option_group_info.py +++ b/plugins/modules/rds_option_group_info.py @@ -244,7 +244,6 @@ from ansible_collections.amazon.aws.plugins.module_utils.core import AnsibleAWSModule from ansible_collections.amazon.aws.plugins.module_utils.core import is_boto3_error_code from ansible_collections.amazon.aws.plugins.module_utils.ec2 import AWSRetry -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import boto3_tag_list_to_ansible_dict from ansible_collections.amazon.aws.plugins.module_utils.ec2 import camel_dict_to_snake_dict from ansible_collections.amazon.aws.plugins.module_utils.rds import get_tags