fixing deprecation warning

master
brent s. 11 months ago
parent 67338238af
commit 6543b230d4
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
  1. 2
      net/dns/linode/ddns.py

@ -117,7 +117,7 @@ class Updater(object):
for t in ('A', 'AAAA'):
logger.debug('Resolving {0} ({1})'.format(record, t))
try:
q = self.resolver.query(record, t)
q = self.resolver.resolve(record, t)
for a in q:
if t not in records.keys():
records[t] = []

Loading…
Cancel
Save