Fix dnsmadeeasy module to pass py3 sanity check

This commit is contained in:
Michael Scherer 2016-10-17 15:44:20 +02:00 committed by Matt Clay
parent b902ea297f
commit 2ceb672016
2 changed files with 3 additions and 3 deletions

View file

@ -121,7 +121,8 @@ try:
from time import strftime, gmtime
import hashlib
import hmac
except ImportError, e:
except ImportError:
e = get_exception()
IMPORT_ERROR = str(e)
class DME2:
@ -170,7 +171,7 @@ class DME2:
try:
return json.load(response)
except Exception, e:
except Exception:
return {}
def getDomain(self, domain_id):

View file

@ -58,7 +58,6 @@
/monitoring/stackdriver.py
/network/citrix/netscaler.py
/network/cloudflare_dns.py
/network/dnsmadeeasy.py
/network/f5/bigip_gtm_virtual_server.py
/network/f5/bigip_gtm_wide_ip.py
/network/nmcli.py