Skip to content

Commit

Permalink
Fix dnsmadeeasy module to pass py3 sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
mscherer authored and mattclay committed Dec 8, 2016
1 parent b902ea2 commit 2ceb672
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/ansible/modules/extras/network/dnsmadeeasy.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@
from time import strftime, gmtime
import hashlib
import hmac
except ImportError, e:
except ImportError:
e = get_exception()
IMPORT_ERROR = str(e)

class DME2:
Expand Down Expand Up @@ -170,7 +171,7 @@ def query(self, resource, method, data=None):

try:
return json.load(response)
except Exception, e:
except Exception:
return {}

def getDomain(self, domain_id):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ceb672

Please sign in to comment.