fixing deprecation warning
This commit is contained in:
parent
67338238af
commit
6543b230d4
@ -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] = []
|
||||||
|
Loading…
Reference in New Issue
Block a user