diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-27 06:44:15 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-27 06:44:38 +0100 |
commit | 7560db856b1cde1d6778b8374272fc20a2bbfe66 (patch) | |
tree | cb4ed97c1ec7afb5d708b33ca324f5c24df79dbd | |
parent | 63d245ac489da16d90cd22049559c3fc49382887 (diff) | |
download | slixmpp-7560db856b1cde1d6778b8374272fc20a2bbfe66.tar.gz slixmpp-7560db856b1cde1d6778b8374272fc20a2bbfe66.tar.bz2 slixmpp-7560db856b1cde1d6778b8374272fc20a2bbfe66.tar.xz slixmpp-7560db856b1cde1d6778b8374272fc20a2bbfe66.zip |
stringprep_profiles: Emit a correct StringPrepError on query + unassigned.
-rw-r--r-- | slixmpp/util/stringprep_profiles.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/slixmpp/util/stringprep_profiles.py b/slixmpp/util/stringprep_profiles.py index 5fb0b4b7..8ba3842f 100644 --- a/slixmpp/util/stringprep_profiles.py +++ b/slixmpp/util/stringprep_profiles.py @@ -146,6 +146,7 @@ def create(nfkc=True, bidi=True, mappings=None, if bidi: check_bidi(data) if query and unassigned: - check_unassigned(data, unassigned) + #check_unassigned(data, unassigned) + raise StringPrepError('Query profile with unassigned data is unimplemented.') return data return profile |