Ajout de la normalisation des clippers
This commit is contained in:
parent
83658010f0
commit
914e405762
1 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,12 @@ class ClipperProvider(CASProvider):
|
|||
uid, extra = data
|
||||
return '{}@clipper.ens.fr'.format(uid.strip().lower())
|
||||
|
||||
def extract_uid(self, data):
|
||||
# Normalize UID
|
||||
uid, _ = data
|
||||
uid = uid.lower().strip()
|
||||
return uid
|
||||
|
||||
def extract_common_fields(self, data):
|
||||
def get_names(clipper):
|
||||
assert clipper.isalnum()
|
||||
|
|
Loading…
Reference in a new issue