From 0ef3fa2703933477e7b3579482cb2f90f639d3ca Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 28 Feb 2015 19:08:04 +0100 Subject: XMLStream: factorize the highlight function so it can be used in tests as well --- slixmpp/xmlstream/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slixmpp/xmlstream/__init__.py') 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'] -- cgit v1.2.3