diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-04 19:07:04 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-04 19:07:04 -0700 |
commit | 6eac0606cf5cd0b7777eb86b77ed1b061dd4b658 (patch) | |
tree | 510531e59e6ca621dee2c46d10b95d7d81eb7e84 /sleekxmpp/xmlstream/tostring/__init__.py | |
parent | a8f57d012f28de32fddf7f22de7f3adb4190bc6e (diff) | |
parent | b9764cc120c48576be1fe6cadb11813d12f91f4c (diff) | |
download | slixmpp-6eac0606cf5cd0b7777eb86b77ed1b061dd4b658.tar.gz slixmpp-6eac0606cf5cd0b7777eb86b77ed1b061dd4b658.tar.bz2 slixmpp-6eac0606cf5cd0b7777eb86b77ed1b061dd4b658.tar.xz slixmpp-6eac0606cf5cd0b7777eb86b77ed1b061dd4b658.zip |
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
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'] |