mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -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
|
@ -171,5 +171,6 @@ def main():
|
|||
elif p['state'] in ['absent', 'removed']:
|
||||
remove_packages(module, packages)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -634,5 +634,6 @@ def main():
|
|||
|
||||
module.exit_json(**result)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -198,6 +198,9 @@ from xml.dom.minidom import parseString as parseXML
|
|||
from ansible.module_utils.six import iteritems
|
||||
from ansible.module_utils._text import to_native
|
||||
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
|
||||
class Package:
|
||||
def __init__(self, name, prefix, version):
|
||||
|
@ -522,7 +525,6 @@ def main():
|
|||
|
||||
module.exit_json(name=name, state=state, update_cache=update_cache, **retvals)
|
||||
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue