diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-11-02 17:44:41 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-11-02 17:44:41 +0100 |
commit | b5c98ba99e0a0245c0fbe9bac2c5885fe7a7a845 (patch) | |
tree | 6ff475f643a2b5782ef75a8038c048e04203132e | |
parent | 711f8dc6afecdf44382ccf3e6732c1d9cad28c48 (diff) | |
download | slixmpp-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.py | 2 |
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 |