Reorganized stream level stanzas.
This commit is contained in:
parent
fa716457a5
commit
3b1f3fddf0
9 changed files with 22 additions and 9 deletions
|
@ -19,8 +19,7 @@ from sleekxmpp import plugins
|
|||
from sleekxmpp import stanza
|
||||
from sleekxmpp.basexmpp import BaseXMPP
|
||||
from sleekxmpp.stanza import *
|
||||
from sleekxmpp.stanza import tls
|
||||
from sleekxmpp.stanza import sasl
|
||||
from sleekxmpp.stanza.stream import tls, sasl
|
||||
from sleekxmpp.xmlstream import XMLStream, RestartStream
|
||||
from sleekxmpp.xmlstream import StanzaBase, ET, register_stanza_plugin
|
||||
from sleekxmpp.xmlstream.matcher import *
|
||||
|
|
|
@ -8,11 +8,10 @@
|
|||
|
||||
|
||||
from sleekxmpp.stanza.error import Error
|
||||
from sleekxmpp.stanza.stream_error import StreamError
|
||||
from sleekxmpp.stanza.iq import Iq
|
||||
from sleekxmpp.stanza.message import Message
|
||||
from sleekxmpp.stanza.presence import Presence
|
||||
from sleekxmpp.stanza.stream_features import StreamFeatures
|
||||
from sleekxmpp.stanza.bind import Bind
|
||||
from sleekxmpp.stanza.session import Session
|
||||
|
||||
from sleekxmpp.stanza.stream import StreamFeatures
|
||||
from sleekxmpp.stanza.stream import Bind
|
||||
from sleekxmpp.stanza.stream import Session
|
||||
from sleekxmpp.stanza.stream import StreamError
|
||||
|
|
13
sleekxmpp/stanza/stream/__init__.py
Normal file
13
sleekxmpp/stanza/stream/__init__.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
"""
|
||||
SleekXMPP: The Sleek XMPP Library
|
||||
Copyright (C) 2010 Nathanael C. Fritz
|
||||
This file is part of SleekXMPP.
|
||||
|
||||
See the file LICENSE for copying permission.
|
||||
"""
|
||||
|
||||
|
||||
from sleekxmpp.stanza.stream.error import StreamError
|
||||
from sleekxmpp.stanza.stream.features import StreamFeatures
|
||||
from sleekxmpp.stanza.stream.bind import Bind
|
||||
from sleekxmpp.stanza.stream.session import Session
|
|
@ -6,7 +6,8 @@
|
|||
See the file LICENSE for copying permission.
|
||||
"""
|
||||
|
||||
from sleekxmpp.stanza import Iq, StreamFeatures
|
||||
from sleekxmpp.stanza import Iq
|
||||
from sleekxmpp.stanza.stream import StreamFeatures
|
||||
from sleekxmpp.xmlstream import ElementBase, ET, register_stanza_plugin
|
||||
|
||||
|
|
@ -6,7 +6,8 @@
|
|||
See the file LICENSE for copying permission.
|
||||
"""
|
||||
|
||||
from sleekxmpp.stanza import Iq, StreamFeatures
|
||||
from sleekxmpp.stanza import Iq
|
||||
from sleekxmpp.stanza.stream import StreamFeatures
|
||||
from sleekxmpp.xmlstream import ElementBase, ET, register_stanza_plugin
|
||||
|
||||
|
Loading…
Reference in a new issue