Commit 7560db85 authored by Link Mauve's avatar Link Mauve

stringprep_profiles: Emit a correct StringPrepError on query + unassigned.

parent 63d245ac
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment