Skip to content

Commit

Permalink
Remove unused imports from aws_config_aggregator (ansible#41803)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansb authored and ansibot committed Jun 21, 2018
1 parent 8f14497 commit 5abb63e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/ansible/modules/cloud/amazon/aws_config_aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,11 @@

try:
import botocore
from botocore.exceptions import BotoCoreError, ClientError
except ImportError:
pass # handled by AnsibleAWSModule

from ansible.module_utils.aws.core import AnsibleAWSModule, is_boto3_error_code
from ansible.module_utils.ec2 import boto3_conn, get_aws_connection_info, AWSRetry
from ansible.module_utils.ec2 import camel_dict_to_snake_dict, boto3_tag_list_to_ansible_dict
from ansible.module_utils.ec2 import AWSRetry, camel_dict_to_snake_dict


def resource_exists(client, module, params):
Expand All @@ -104,7 +102,7 @@ def resource_exists(client, module, params):

def create_resource(client, module, params, result):
try:
response = client.put_configuration_aggregator(
client.put_configuration_aggregator(
ConfigurationAggregatorName=params['ConfigurationAggregatorName'],
AccountAggregationSources=params['AccountAggregationSources'],
OrganizationAggregationSource=params['OrganizationAggregationSource']
Expand Down

0 comments on commit 5abb63e

Please sign in to comment.