Fix resolver test script.

This commit is contained in:
Ben Darnell 2013-03-02 14:45:43 -05:00
parent fbba77ea9c
commit 4bfbbad331
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def main():
for host in args:
print('Resolving %s' % host)
for resolver in resolvers:
addrinfo = yield resolver.getaddrinfo(host, 80, family)
addrinfo = yield resolver.resolve(host, 80, family)
print('%s: %s' % (resolver.__class__.__name__,
pprint.pformat(addrinfo)))
print()