mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-31 13:29:08 -07:00
Surround top-level function and class definitions with two blank lines.
This commit is contained in:
parent
9e310558ee
commit
b954917761
373 changed files with 408 additions and 28 deletions
|
@ -222,5 +222,6 @@ def main():
|
|||
|
||||
module.exit_json(**result)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -325,5 +325,6 @@ def main():
|
|||
else:
|
||||
delete_glue_connection(connection_glue, module, glue_connection)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -361,5 +361,6 @@ def main():
|
|||
else:
|
||||
delete_glue_job(connection, module, glue_job)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -187,5 +187,6 @@ def main():
|
|||
elif state == 'absent':
|
||||
destroy_bucket_cors(client, module)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -727,5 +727,6 @@ def main():
|
|||
|
||||
module.exit_json(changed=changed, **camel_dict_to_snake_dict(response))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -535,5 +535,6 @@ def main():
|
|||
|
||||
module.exit_json(**facts_result)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -354,5 +354,6 @@ def main():
|
|||
|
||||
module.exit_json(**facts_result)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -569,5 +569,6 @@ def main():
|
|||
else:
|
||||
delete_elb(elb)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -415,5 +415,6 @@ def main():
|
|||
else:
|
||||
delete_elb(elb)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -312,5 +312,6 @@ def main():
|
|||
else:
|
||||
deregister_target(connection, module)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -204,6 +204,7 @@ def to_template_params(health_check):
|
|||
params['string_match_part'] = HealthCheck.XMLStringMatchPart % {'string_match': health_check.string_match}
|
||||
return params
|
||||
|
||||
|
||||
XMLResourcePathPart = """<ResourcePath>%(resource_path)s</ResourcePath>"""
|
||||
|
||||
POSTXMLBody = """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue