Remove unused RestartStream exception
This commit is contained in:
parent
f5d4334963
commit
d3b56a5d94
6 changed files with 4 additions and 13 deletions
|
@ -4,7 +4,5 @@ XML Stream
|
|||
|
||||
.. module:: slixmpp.xmlstream.xmlstream
|
||||
|
||||
.. autoexception:: RestartStream
|
||||
|
||||
.. autoclass:: XMLStream
|
||||
:members:
|
||||
|
|
|
@ -21,7 +21,7 @@ from slixmpp.stanza import Message, Presence, Iq
|
|||
from slixmpp.jid import JID, InvalidJID
|
||||
from slixmpp.xmlstream.stanzabase import ET, ElementBase, register_stanza_plugin
|
||||
from slixmpp.xmlstream.handler import *
|
||||
from slixmpp.xmlstream import XMLStream, RestartStream
|
||||
from slixmpp.xmlstream import XMLStream
|
||||
from slixmpp.xmlstream.matcher import *
|
||||
from slixmpp.basexmpp import BaseXMPP
|
||||
from slixmpp.clientxmpp import ClientXMPP
|
||||
|
|
|
@ -12,7 +12,7 @@ import logging
|
|||
from slixmpp.util import sasl
|
||||
from slixmpp.util.stringprep_profiles import StringPrepError
|
||||
from slixmpp.stanza import StreamFeatures
|
||||
from slixmpp.xmlstream import RestartStream, register_stanza_plugin
|
||||
from slixmpp.xmlstream import register_stanza_plugin
|
||||
from slixmpp.plugins import BasePlugin
|
||||
from slixmpp.xmlstream.matcher import MatchXPath
|
||||
from slixmpp.xmlstream.handler import Callback
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
import logging
|
||||
|
||||
from slixmpp.stanza import StreamFeatures
|
||||
from slixmpp.xmlstream import RestartStream, register_stanza_plugin
|
||||
from slixmpp.xmlstream import register_stanza_plugin
|
||||
from slixmpp.plugins import BasePlugin
|
||||
from slixmpp.xmlstream.matcher import MatchXPath
|
||||
from slixmpp.xmlstream.handler import Callback
|
||||
|
|
|
@ -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']
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue