Conditional main()
This is needed to allow the debugger work
This commit is contained in:
parent
be9fb2aa7d
commit
7b94e3de38
3 changed files with 5 additions and 3 deletions
|
@ -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 *
|
||||||
|
|
||||||
main()
|
if __name__ == '__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 *
|
||||||
|
|
||||||
main()
|
if __name__ == '__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…
Add table
Reference in a new issue