diff options
author | mathieui <mathieui@mathieui.net> | 2015-09-14 23:14:06 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-09-14 23:14:06 +0200 |
commit | 1aa15792b4cddfd77c5535ab43c6d663f33a7aed (patch) | |
tree | 395477675bdfd3f6e5be26dd6a03f0bd03f03295 /slixmpp | |
parent | 27f98bf22c2b95b3aa39719fe7fed3db6506213a (diff) | |
download | slixmpp-1aa15792b4cddfd77c5535ab43c6d663f33a7aed.tar.gz slixmpp-1aa15792b4cddfd77c5535ab43c6d663f33a7aed.tar.bz2 slixmpp-1aa15792b4cddfd77c5535ab43c6d663f33a7aed.tar.xz slixmpp-1aa15792b4cddfd77c5535ab43c6d663f33a7aed.zip |
Bump the requirements to aiodns 1.0
(and use install_requires instead of requires in the setup.py)
Diffstat (limited to 'slixmpp')
-rw-r--r-- | slixmpp/xmlstream/resolver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/xmlstream/resolver.py b/slixmpp/xmlstream/resolver.py index fb2c3d31..778f7dc3 100644 --- a/slixmpp/xmlstream/resolver.py +++ b/slixmpp/xmlstream/resolver.py @@ -193,7 +193,7 @@ def get_A(host, resolver=None, use_aiodns=True, loop=None): except Exception as e: log.debug('DNS: Exception while querying for %s A records: %s', host, e) recs = [] - return recs + return [rec.host for rec in recs] @asyncio.coroutine |