summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-01-19 17:50:05 -0500
committerLance Stout <lancestout@gmail.com>2011-01-19 17:50:05 -0500
commit6f4c2f22f3688395b0fa173cee2afe543832c2cd (patch)
tree745b08312d1cb48f90fe0be99c763282e361436f
parent493df570353fbeff288d6ee61fb0842622443967 (diff)
parent897a9ac3335ef42e454aba44346d8702564ab48f (diff)
downloadslixmpp-6f4c2f22f3688395b0fa173cee2afe543832c2cd.tar.gz
slixmpp-6f4c2f22f3688395b0fa173cee2afe543832c2cd.tar.bz2
slixmpp-6f4c2f22f3688395b0fa173cee2afe543832c2cd.tar.xz
slixmpp-6f4c2f22f3688395b0fa173cee2afe543832c2cd.zip
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
-rw-r--r--sleekxmpp/clientxmpp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py
index 734c9a14..b8668107 100644
--- a/sleekxmpp/clientxmpp.py
+++ b/sleekxmpp/clientxmpp.py
@@ -169,6 +169,8 @@ class ClientXMPP(BaseXMPP):
except (dns.resolver.NXDOMAIN, dns.resolver.NoAnswer):
log.debug("No appropriate SRV record found." + \
" Using JID server name.")
+ except (dns.exception.Timeout,):
+ log.debug("DNS resolution timed out.")
else:
# Pick a random server, weighted by priority.