Conditional main()

This is needed to allow the debugger work
pull/18777/head
John Barker 8 years ago committed by Matt Clay
parent be9fb2aa7d
commit 7b94e3de38

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

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

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

Loading…
Cancel
Save