diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-02-28 19:08:04 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-03-02 17:10:27 +0100 |
commit | 0ef3fa2703933477e7b3579482cb2f90f639d3ca (patch) | |
tree | 2dd5f66dce8aa7b5d0f4ed5cbc4c92d23959d1d2 /slixmpp/xmlstream/__init__.py | |
parent | 8da269de88b43f1e8464a6bce83b1fca65d406bb (diff) | |
download | slixmpp-0ef3fa2703933477e7b3579482cb2f90f639d3ca.tar.gz slixmpp-0ef3fa2703933477e7b3579482cb2f90f639d3ca.tar.bz2 slixmpp-0ef3fa2703933477e7b3579482cb2f90f639d3ca.tar.xz slixmpp-0ef3fa2703933477e7b3579482cb2f90f639d3ca.zip |
XMLStream: factorize the highlight function so it can be used in tests as well
Diffstat (limited to 'slixmpp/xmlstream/__init__.py')
-rw-r--r-- | slixmpp/xmlstream/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/xmlstream/__init__.py b/slixmpp/xmlstream/__init__.py index b9ab6dea..b5302292 100644 --- a/slixmpp/xmlstream/__init__.py +++ b/slixmpp/xmlstream/__init__.py @@ -9,9 +9,9 @@ from slixmpp.jid import JID 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.tostring import tostring, highlight from slixmpp.xmlstream.xmlstream import XMLStream, RESPONSE_TIMEOUT __all__ = ['JID', 'StanzaBase', 'ElementBase', - 'ET', 'StateMachine', 'tostring', 'XMLStream', + 'ET', 'StateMachine', 'tostring', 'highlight', 'XMLStream', 'RESPONSE_TIMEOUT'] |