From c55e9279acfa9947802bd681c9384ad7222a14a2 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 2 Jul 2018 14:33:21 +0200 Subject: [PATCH] Fix missing async def in function. --- slixmpp/xmlstream/resolver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixmpp/xmlstream/resolver.py b/slixmpp/xmlstream/resolver.py index 3c3c9dda..379c53ac 100644 --- a/slixmpp/xmlstream/resolver.py +++ b/slixmpp/xmlstream/resolver.py @@ -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