diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-04 11:41:36 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-04 11:41:36 -0700 |
commit | b9764cc120c48576be1fe6cadb11813d12f91f4c (patch) | |
tree | 312838d38935e3c8977d81db09294b37d2e08cda /sleekxmpp/xmlstream/tostring/__init__.py | |
parent | 7cd39a6aad5d3e4cb537bf2ab3ec12a1c55c811e (diff) | |
download | slixmpp-b9764cc120c48576be1fe6cadb11813d12f91f4c.tar.gz slixmpp-b9764cc120c48576be1fe6cadb11813d12f91f4c.tar.bz2 slixmpp-b9764cc120c48576be1fe6cadb11813d12f91f4c.tar.xz slixmpp-b9764cc120c48576be1fe6cadb11813d12f91f4c.zip |
Clean up and unify tostring once and for all.
Packaging for Python3 just got easier.
Diffstat (limited to 'sleekxmpp/xmlstream/tostring/__init__.py')
-rw-r--r-- | sleekxmpp/xmlstream/tostring/__init__.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sleekxmpp/xmlstream/tostring/__init__.py b/sleekxmpp/xmlstream/tostring/__init__.py deleted file mode 100644 index 5852cba2..00000000 --- a/sleekxmpp/xmlstream/tostring/__init__.py +++ /dev/null @@ -1,19 +0,0 @@ -""" - SleekXMPP: The Sleek XMPP Library - Copyright (C) 2010 Nathanael C. Fritz - This file is part of SleekXMPP. - - See the file LICENSE for copying permission. -""" - -import sys - -# Import the correct tostring and xml_escape functions based on the Python -# version in order to properly handle Unicode. - -if sys.version_info < (3, 0): - from sleekxmpp.xmlstream.tostring.tostring26 import tostring, xml_escape -else: - from sleekxmpp.xmlstream.tostring.tostring import tostring, xml_escape - -__all__ = ['tostring', 'xml_escape'] |