summaryrefslogtreecommitdiff
path: root/sleekxmpp/clientxmpp.py
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@netflint.net>2011-08-18 01:04:01 -0700
committerNathan Fritz <fritzy@netflint.net>2011-08-18 01:04:01 -0700
commitf75b6bf9557ffc9413a528649474478e9d98dfba (patch)
tree6de422af3eca714ff1a508a429bfdf36fb1b272c /sleekxmpp/clientxmpp.py
parentfb78bf0996f8412a93cc53240fb55f16212105dc (diff)
downloadslixmpp-f75b6bf9557ffc9413a528649474478e9d98dfba.tar.gz
slixmpp-f75b6bf9557ffc9413a528649474478e9d98dfba.tar.bz2
slixmpp-f75b6bf9557ffc9413a528649474478e9d98dfba.tar.xz
slixmpp-f75b6bf9557ffc9413a528649474478e9d98dfba.zip
added inline documentation for new dns methods
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r--sleekxmpp/clientxmpp.py8
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: