Make netscaler pass python3 sanity check

pull/18777/head
Michael Scherer 8 years ago committed by Matt Clay
parent 04996c3720
commit 9bdb567c56

@ -173,7 +173,8 @@ def main():
rc = 0 rc = 0
try: try:
rc, result = core(module) rc, result = core(module)
except Exception, e: except Exception:
e = get_exception()
module.fail_json(msg=str(e)) module.fail_json(msg=str(e))
if rc != 0: if rc != 0:
@ -186,4 +187,5 @@ def main():
# import module snippets # import module snippets
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.pycompat24 import get_exception
main() main()

@ -46,7 +46,6 @@
/monitoring/datadog_monitor.py /monitoring/datadog_monitor.py
/monitoring/rollbar_deployment.py /monitoring/rollbar_deployment.py
/monitoring/stackdriver.py /monitoring/stackdriver.py
/network/citrix/netscaler.py
/network/cloudflare_dns.py /network/cloudflare_dns.py
/network/f5/bigip_gtm_virtual_server.py /network/f5/bigip_gtm_virtual_server.py
/network/f5/bigip_gtm_wide_ip.py /network/f5/bigip_gtm_wide_ip.py

Loading…
Cancel
Save