diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-07-21 20:40:45 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-07-21 20:40:45 +0200 |
commit | f5d4334963247284a2fc50b286ecaaaf91f98adb (patch) | |
tree | 372b5ed93a689c6f2e48d96718ddd489d46ad44e /slixmpp/xmlstream | |
parent | 5c769632e8d35ea76990a1de3ab405c57a21482e (diff) | |
download | slixmpp-f5d4334963247284a2fc50b286ecaaaf91f98adb.tar.gz slixmpp-f5d4334963247284a2fc50b286ecaaaf91f98adb.tar.bz2 slixmpp-f5d4334963247284a2fc50b286ecaaaf91f98adb.tar.xz slixmpp-f5d4334963247284a2fc50b286ecaaaf91f98adb.zip |
Remove the now useless state machine
Diffstat (limited to 'slixmpp/xmlstream')
-rw-r--r-- | slixmpp/xmlstream/xmlstream.py | 6 |
1 files changed, 0 insertions, 6 deletions
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) |