mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Surround top-level function and class definitions with two blank lines.
This commit is contained in:
committed by
Toshio Kuratomi
parent
9e310558ee
commit
b954917761
@@ -441,5 +441,6 @@ def main():
|
||||
)
|
||||
return
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
@@ -536,5 +536,6 @@ def main():
|
||||
)
|
||||
return
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
@@ -226,5 +226,6 @@ def main():
|
||||
)
|
||||
return
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
@@ -246,5 +246,6 @@ def main():
|
||||
module.fail_json(msg='Unable to write file {0}: {1}'.format(path,
|
||||
str(e)))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
@@ -259,5 +259,6 @@ def main():
|
||||
module.fail_json(msg='Unable to write file {0}: {1}'.format(path,
|
||||
str(e)))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
@@ -128,5 +128,6 @@ def main():
|
||||
host_groups = host.get_group_ids_by_group_names(hostgroup_name)
|
||||
module.exit_json(host_groups=host_groups)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
@@ -207,5 +207,6 @@ def main():
|
||||
else:
|
||||
module.exit_json(ok=False, hosts=[], result="No Host present")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user