stringprep_profiles: Emit a correct StringPrepError on query + unassigned.
This commit is contained in:
parent
63d245ac48
commit
7560db856b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue