Make main() only run when invoked as a script (style cleanup)

This commit is contained in:
Toshio Kuratomi 2016-04-20 14:36:43 -07:00
parent 7ece46711a
commit 54a6a470b5

View file

@ -1776,4 +1776,5 @@ def main():
# import module bits # import module bits
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main() if __name__ == '__main__':
main()