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

reviewable/pr18780/r1
Toshio Kuratomi 9 years ago
parent 7ece46711a
commit 54a6a470b5

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

Loading…
Cancel
Save