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

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

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

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

Loading…
Cancel
Save