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

pull/18777/head
Toshio Kuratomi 9 years ago committed by Matt Clay
parent 314843b431
commit 7b1704640e

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

Loading…
Cancel
Save