Make `main()` calls conditional - packaging (#3650)

pull/18777/head
Fabio Alessandro Locati 8 years ago committed by Matt Clay
parent 95be8b8276
commit 007abb5373

@ -75,4 +75,6 @@ def main():
from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

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

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

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

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

@ -543,4 +543,6 @@ def main():
# Import module snippets.
from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

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

@ -167,4 +167,6 @@ def is_latest(module, package):
from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

@ -202,4 +202,6 @@ def unstringify(val):
from ansible.module_utils.basic import *
main()
if __name__ == '__main__':
main()

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

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

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

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

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

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

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

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

Loading…
Cancel
Save