mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Make dnssimple compile on python 3
This commit is contained in:
committed by
Matt Clay
parent
d815890aa6
commit
adc62226d4
@@ -294,12 +294,14 @@ def main():
|
||||
else:
|
||||
module.fail_json(msg="'%s' is an unknown value for the state argument" % state)
|
||||
|
||||
except DNSimpleException, e:
|
||||
except DNSimpleException:
|
||||
e = get_exception()
|
||||
module.fail_json(msg="Unable to contact DNSimple: %s" % e.message)
|
||||
|
||||
module.fail_json(msg="Unknown what you wanted me to do")
|
||||
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
from ansible.module_utils.pycompat24 import get_exception
|
||||
|
||||
main()
|
||||
|
||||
@@ -62,7 +62,6 @@
|
||||
/monitoring/zabbix_screen.py
|
||||
/network/citrix/netscaler.py
|
||||
/network/cloudflare_dns.py
|
||||
/network/dnsimple.py
|
||||
/network/dnsmadeeasy.py
|
||||
/network/f5/bigip_gtm_virtual_server.py
|
||||
/network/f5/bigip_gtm_wide_ip.py
|
||||
|
||||
Reference in New Issue
Block a user