summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-11-02 17:44:41 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-11-02 17:44:41 +0100
commitb5c98ba99e0a0245c0fbe9bac2c5885fe7a7a845 (patch)
tree6ff475f643a2b5782ef75a8038c048e04203132e
parent711f8dc6afecdf44382ccf3e6732c1d9cad28c48 (diff)
downloadslixmpp-b5c98ba99e0a0245c0fbe9bac2c5885fe7a7a845.tar.gz
slixmpp-b5c98ba99e0a0245c0fbe9bac2c5885fe7a7a845.tar.bz2
slixmpp-b5c98ba99e0a0245c0fbe9bac2c5885fe7a7a845.tar.xz
slixmpp-b5c98ba99e0a0245c0fbe9bac2c5885fe7a7a845.zip
Fix default value of dns_answers to None (instead of [])
-rw-r--r--slixmpp/xmlstream/xmlstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py
index 40080dc1..d672c221 100644
--- a/slixmpp/xmlstream/xmlstream.py
+++ b/slixmpp/xmlstream/xmlstream.py
@@ -218,7 +218,7 @@ class XMLStream(object):
self._id_prefix = '%s-' % uuid.uuid4()
#: A list of DNS results that have not yet been tried.
- self.dns_answers = []
+ self.dns_answers = None
#: The service name to check with DNS SRV records. For
#: example, setting this to ``'xmpp-client'`` would query the