Explicitly use Unicode 3.2 for StringPrep profiles.

See http://labs.spotify.com/2013/06/18/creative-usernames/
This commit is contained in:
Lance Stout 2013-06-19 00:28:11 -07:00
parent 13c919773e
commit 4864b07e13

View file

@ -18,7 +18,7 @@ from __future__ import unicode_literals
import sys import sys
import stringprep import stringprep
import unicodedata from unicodedata import ucd_3_2_0 as unicodedata
from sleekxmpp.util import unicode from sleekxmpp.util import unicode