Surround top-level function and class definitions with two blank lines.

This commit is contained in:
Joren Vrancken
2018-07-29 13:46:06 +02:00
committed by Toshio Kuratomi
parent 9e310558ee
commit b954917761
373 changed files with 408 additions and 28 deletions

View File

@@ -241,5 +241,6 @@ def main():
module.exit_json(ansible_facts=facts)
if __name__ == '__main__':
main()

View File

@@ -422,5 +422,6 @@ def main():
result['elapsed'] = (datetime.datetime.utcnow() - start).seconds
module.exit_json(**result)
if __name__ == '__main__':
main()

View File

@@ -182,5 +182,6 @@ def main():
except Exception as e:
module.fail_json(msg=str(e))
if __name__ == '__main__':
main()

View File

@@ -127,5 +127,6 @@ def main():
except Exception as e:
module.fail_json(msg=str(e))
if __name__ == '__main__':
main()

View File

@@ -262,5 +262,6 @@ def main():
# Return data back
module.exit_json(ansible_facts=dict(redfish_facts=result))
if __name__ == '__main__':
main()