Fix default value of dns_answers to None (instead of [])
This commit is contained in:
parent
711f8dc6af
commit
b5c98ba99e
@ -218,7 +218,7 @@ class XMLStream(object):
|
|||||||
self._id_prefix = '%s-' % uuid.uuid4()
|
self._id_prefix = '%s-' % uuid.uuid4()
|
||||||
|
|
||||||
#: A list of DNS results that have not yet been tried.
|
#: 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
|
#: The service name to check with DNS SRV records. For
|
||||||
#: example, setting this to ``'xmpp-client'`` would query the
|
#: example, setting this to ``'xmpp-client'`` would query the
|
||||||
|
Loading…
Reference in New Issue
Block a user