From b5c98ba99e0a0245c0fbe9bac2c5885fe7a7a845 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sun, 2 Nov 2014 17:44:41 +0100 Subject: Fix default value of dns_answers to None (instead of []) --- slixmpp/xmlstream/xmlstream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3