diff options
Diffstat (limited to 'slixmpp/xmlstream')
-rw-r--r-- | slixmpp/xmlstream/tostring.py | 2 | ||||
-rw-r--r-- | slixmpp/xmlstream/xmlstream.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/slixmpp/xmlstream/tostring.py b/slixmpp/xmlstream/tostring.py index d6cc85dd..f772ff63 100644 --- a/slixmpp/xmlstream/tostring.py +++ b/slixmpp/xmlstream/tostring.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ slixmpp.xmlstream.tostring - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ This module converts XML objects into Unicode strings and intelligently includes namespaces only when necessary to diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 066d84df..14020e1c 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -261,7 +261,6 @@ class XMLStream(asyncio.BaseProtocol): connection will be upgraded to SSL/TLS later, using STARTTLS. Only use this value for old servers that have specific port for SSL/TLS - TODO fix the comment :param force_starttls: If True, the connection will be aborted if the server does not initiate a STARTTLS negotiation. If None, the connection will be @@ -278,7 +277,7 @@ class XMLStream(asyncio.BaseProtocol): self.run_filters(), loop=self.loop, ) - + self.disconnect_reason = None self.cancel_connection_attempt() self.connect_loop_wait = 0 |