Fix dnsmadeeasy module to pass py3 sanity check
This commit is contained in:
parent
b902ea297f
commit
2ceb672016
2 changed files with 3 additions and 3 deletions
|
@ -121,7 +121,8 @@ try:
|
||||||
from time import strftime, gmtime
|
from time import strftime, gmtime
|
||||||
import hashlib
|
import hashlib
|
||||||
import hmac
|
import hmac
|
||||||
except ImportError, e:
|
except ImportError:
|
||||||
|
e = get_exception()
|
||||||
IMPORT_ERROR = str(e)
|
IMPORT_ERROR = str(e)
|
||||||
|
|
||||||
class DME2:
|
class DME2:
|
||||||
|
@ -170,7 +171,7 @@ class DME2:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
return json.load(response)
|
return json.load(response)
|
||||||
except Exception, e:
|
except Exception:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
def getDomain(self, domain_id):
|
def getDomain(self, domain_id):
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
/monitoring/stackdriver.py
|
/monitoring/stackdriver.py
|
||||||
/network/citrix/netscaler.py
|
/network/citrix/netscaler.py
|
||||||
/network/cloudflare_dns.py
|
/network/cloudflare_dns.py
|
||||||
/network/dnsmadeeasy.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
|
||||||
/network/nmcli.py
|
/network/nmcli.py
|
||||||
|
|
Loading…
Reference in a new issue