Fix missing async def in function.

This commit is contained in:
Emmanuel Gil Peyrot 2018-07-02 14:33:21 +02:00
parent 3502480384
commit c55e9279ac

View file

@ -152,7 +152,7 @@ async def resolve(host, port=None, service=None, proto='tcp',
return results
def get_A(host, resolver=None, use_aiodns=True, loop=None):
async def get_A(host, resolver=None, use_aiodns=True, loop=None):
"""Lookup DNS A records for a given host.
If ``resolver`` is not provided, or is ``None``, then resolution will