fixing deprecation warning

This commit is contained in:
brent s. 2021-10-29 06:33:51 -04:00
parent 67338238af
commit 6543b230d4
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

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