Make main() calls conditional - notifications (#3656)

This commit is contained in:
Fabio Alessandro Locati 2016-12-05 16:21:26 +00:00 committed by Matt Clay
parent afa6fa9a89
commit 96780cf035
10 changed files with 28 additions and 11 deletions

View file

@ -191,5 +191,5 @@ def main():
from ansible.module_utils.basic import *
from ansible.module_utils.urls import *
main()
if __name__ == '__main__':
main()

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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