Fix infrequent PEP 8 issues.

This commit is contained in:
Matt Clay
2017-01-27 13:04:59 -08:00
parent 13fc909058
commit 63b1e0c277
31 changed files with 41 additions and 50 deletions

View File

@@ -208,7 +208,7 @@ def main():
results['view'] = cf_man.view(ct_name)
# only update if the values have changed.
if results['view']['S3BucketName'] != s3_bucket_name or \
results['view'].get('S3KeyPrefix', '') != s3_key_prefix or \
results['view'].get('S3KeyPrefix', '') != s3_key_prefix or \
results['view']['IncludeGlobalServiceEvents'] != include_global_events:
if not module.check_mode:
results['update'] = cf_man.update(name=ct_name, s3_bucket_name=s3_bucket_name, s3_key_prefix=s3_key_prefix, include_global_service_events=include_global_events)

View File

@@ -148,7 +148,7 @@ def main():
module = AnsibleModule(argument_spec=argument_spec)
# Validate Requirements
# Validate Requirements
if not HAS_BOTO3:
module.fail_json(msg='json and botocore/boto3 is required.')

View File

@@ -148,7 +148,7 @@ def main():
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)
# Validate Requirements
# Validate Requirements
if not HAS_BOTO3:
module.fail_json(msg='json and boto3 is required.')
@@ -160,7 +160,7 @@ def main():
# call your function here
results = list_virtual_gateways(connection, module)
module.exit_json(result=results)