From f5d4334963247284a2fc50b286ecaaaf91f98adb Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 21 Jul 2014 20:40:45 +0200 Subject: Remove the now useless state machine --- slixmpp/xmlstream/xmlstream.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'slixmpp/xmlstream/xmlstream.py') diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 8f7ecd7e..9c0acaa7 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -35,7 +35,6 @@ import xml.etree.ElementTree import slixmpp from slixmpp.util import Queue, QueueEmpty, safedict -from slixmpp.thirdparty.statemachine import StateMachine from slixmpp.xmlstream import tostring, cert from slixmpp.xmlstream.stanzabase import StanzaBase, ET, ElementBase from slixmpp.xmlstream.handler import Waiter, XMLCallback @@ -142,11 +141,6 @@ class XMLStream(object): self._der_cert = None - #: The connection state machine tracks if the stream is - #: ``'connected'`` or ``'disconnected'``. - self.state = StateMachine(('disconnected', 'connected')) - self.state._set_state('disconnected') - #: The default port to return when querying DNS records. self.default_port = int(port) -- cgit v1.2.3