Projet

Général

Profil

0001-hobo-deploy-handle-custom-date-kind-used-by-authenti.patch

Frédéric Péters, 20 septembre 2018 18:18

Télécharger (1,02 ko)

Voir les différences:

Subject: [PATCH] hobo-deploy: handle custom date kind used by
 authentic2-auth-fedict (#26597)

 wcs/ctl/check_hobos.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/ctl/check_hobos.py
225 225
                field_class = StringField
226 226
                if attribute['kind'] == 'email':
227 227
                    field_class = EmailField
228
                elif attribute['kind'] in ('date', 'birthdate'):
228
                elif attribute['kind'] in ('date', 'birthdate', 'fedict_date'):
229 229
                    field_class = DateField
230 230
                new_field = field_class(label=attribute['label'].encode('utf-8'),
231 231
                        type=field_class.key,
232
-