diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-07-22 02:18:48 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-07-22 02:18:48 +0200 |
commit | d3b56a5d9457325287df391b7b4b00a25409845d (patch) | |
tree | 630149acc1fa5184a3bd9bd31d5ac77a82e0e6b7 /slixmpp/xmlstream | |
parent | f5d4334963247284a2fc50b286ecaaaf91f98adb (diff) | |
download | slixmpp-d3b56a5d9457325287df391b7b4b00a25409845d.tar.gz slixmpp-d3b56a5d9457325287df391b7b4b00a25409845d.tar.bz2 slixmpp-d3b56a5d9457325287df391b7b4b00a25409845d.tar.xz slixmpp-d3b56a5d9457325287df391b7b4b00a25409845d.zip |
Remove unused RestartStream exception
Diffstat (limited to 'slixmpp/xmlstream')
-rw-r--r-- | slixmpp/xmlstream/__init__.py | 3 | ||||
-rw-r--r-- | slixmpp/xmlstream/xmlstream.py | 6 |
2 files changed, 1 insertions, 8 deletions
diff --git a/slixmpp/xmlstream/__init__.py b/slixmpp/xmlstream/__init__.py index fa192265..b9ab6dea 100644 --- a/slixmpp/xmlstream/__init__.py +++ b/slixmpp/xmlstream/__init__.py @@ -11,8 +11,7 @@ from slixmpp.xmlstream.stanzabase import StanzaBase, ElementBase, ET from slixmpp.xmlstream.stanzabase import register_stanza_plugin from slixmpp.xmlstream.tostring import tostring from slixmpp.xmlstream.xmlstream import XMLStream, RESPONSE_TIMEOUT -from slixmpp.xmlstream.xmlstream import RestartStream __all__ = ['JID', 'StanzaBase', 'ElementBase', 'ET', 'StateMachine', 'tostring', 'XMLStream', - 'RESPONSE_TIMEOUT', 'RestartStream'] + 'RESPONSE_TIMEOUT'] diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 9c0acaa7..1540ae7a 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -47,12 +47,6 @@ RESPONSE_TIMEOUT = 30 log = logging.getLogger(__name__) -class RestartStream(Exception): - """ - Exception to restart stream processing, including - resending the stream header. - """ - class NotConnectedError(Exception): """ Raised when we try to send something over the wire but we are not |