[ldap_crans] En cas de TypeError, on donne le type rencontré
This commit is contained in:
parent
04b463625b
commit
3ff629949e
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ def preattr(val):
|
|||
val = val.strip()
|
||||
return [len(val), val.encode('utf-8')]
|
||||
else:
|
||||
raise TypeError
|
||||
raise TypeError(type(val))
|
||||
|
||||
def is_actif(sanction):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue