Make netscaler pass python3 sanity check
This commit is contained in:
parent
04996c3720
commit
9bdb567c56
2 changed files with 3 additions and 2 deletions
|
@ -173,7 +173,8 @@ def main():
|
|||
rc = 0
|
||||
try:
|
||||
rc, result = core(module)
|
||||
except Exception, e:
|
||||
except Exception:
|
||||
e = get_exception()
|
||||
module.fail_json(msg=str(e))
|
||||
|
||||
if rc != 0:
|
||||
|
@ -186,4 +187,5 @@ def main():
|
|||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
from ansible.module_utils.urls import *
|
||||
from ansible.module_utils.pycompat24 import get_exception
|
||||
main()
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
/monitoring/datadog_monitor.py
|
||||
/monitoring/rollbar_deployment.py
|
||||
/monitoring/stackdriver.py
|
||||
/network/citrix/netscaler.py
|
||||
/network/cloudflare_dns.py
|
||||
/network/f5/bigip_gtm_virtual_server.py
|
||||
/network/f5/bigip_gtm_wide_ip.py
|
||||
|
|
Loading…
Reference in a new issue