Make main() calls conditional - source_control (#3651)

This commit is contained in:
Fabio Alessandro Locati 2016-12-05 16:23:23 +00:00 committed by Matt Clay
parent 007abb5373
commit 45b31fa514
2 changed files with 5 additions and 2 deletions

View file

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

View file

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