diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-18 01:07:21 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-18 01:07:21 -0700 |
commit | 592c25f3528c51a601b2e449981d5b008aa274ac (patch) | |
tree | 9cb912f8f474a489545b14bbbbe45b319c976685 /sleekxmpp/clientxmpp.py | |
parent | 015f662249eec9a0504bea1d614ad1138d8e19ab (diff) | |
parent | f75b6bf9557ffc9413a528649474478e9d98dfba (diff) | |
download | slixmpp-592c25f3528c51a601b2e449981d5b008aa274ac.tar.gz slixmpp-592c25f3528c51a601b2e449981d5b008aa274ac.tar.bz2 slixmpp-592c25f3528c51a601b2e449981d5b008aa274ac.tar.xz slixmpp-592c25f3528c51a601b2e449981d5b008aa274ac.zip |
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r-- | sleekxmpp/clientxmpp.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py index 2e81eb3b..170b35f0 100644 --- a/sleekxmpp/clientxmpp.py +++ b/sleekxmpp/clientxmpp.py @@ -141,6 +141,14 @@ class ClientXMPP(BaseXMPP): use_tls=use_tls, reattempt=reattempt) def get_dns_records(self, domain, port=None): + """ + Get the DNS records for a domain. + Overridden XMLStream.get_dns_records to use SRV. + + Arguments: + domain -- The domain in question. + port -- If the results don't include a port, use this one. + """ if port is None: port = self.default_port if DNSPYTHON: |