Fix default value of dns_answers to None (instead of [])
This commit is contained in:
parent
711f8dc6af
commit
b5c98ba99e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue