slixmpp/sleekxmpp/xmlstream/tostring/__init__.py
Lance Stout c54466596f Modified sleekxmpp.xmlstream.tostring to import ToString class based on Python version.
The package sleekxmpp.xmlstream.tostring26 remains for now until stanzabase is updated, but is no longer needed.
2010-08-04 14:41:37 -04:00

14 lines
276 B
Python

"""
"""
import sys
# Import the correct ToString class based on the Python version.
if sys.version_info < (3, 0):
from sleekxmpp.xmlstream.tostring.tostring26 import ToString
else:
from sleekxmpp.xmlstream.tostring.tostring import ToString
__all__ = ['ToString']