summaryrefslogtreecommitdiff
path: root/sleekxmpp/util/stringprep_profiles.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-06-19 00:28:11 -0700
committerLance Stout <lancestout@gmail.com>2013-06-19 00:28:11 -0700
commit4864b07e13e3ef82ba4c5add98a463e20e259863 (patch)
treedfb64467af40b04df2409b3974390b9f0bb3b8a5 /sleekxmpp/util/stringprep_profiles.py
parent13c919773e0a0e52235cae77bf15c1f3a5c22a1e (diff)
downloadslixmpp-4864b07e13e3ef82ba4c5add98a463e20e259863.tar.gz
slixmpp-4864b07e13e3ef82ba4c5add98a463e20e259863.tar.bz2
slixmpp-4864b07e13e3ef82ba4c5add98a463e20e259863.tar.xz
slixmpp-4864b07e13e3ef82ba4c5add98a463e20e259863.zip
Explicitly use Unicode 3.2 for StringPrep profiles.
See http://labs.spotify.com/2013/06/18/creative-usernames/
Diffstat (limited to 'sleekxmpp/util/stringprep_profiles.py')
-rw-r--r--sleekxmpp/util/stringprep_profiles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/util/stringprep_profiles.py b/sleekxmpp/util/stringprep_profiles.py
index ad89d4cc..54793343 100644
--- a/sleekxmpp/util/stringprep_profiles.py
+++ b/sleekxmpp/util/stringprep_profiles.py
@@ -18,7 +18,7 @@ from __future__ import unicode_literals
import sys
import stringprep
-import unicodedata
+from unicodedata import ucd_3_2_0 as unicodedata
from sleekxmpp.util import unicode