From 64b441c360e6a50486aeded3fd2d86bf74dd030b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 20 Sep 2018 16:39:51 +0200 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(-) diff --git a/wcs/ctl/check_hobos.py b/wcs/ctl/check_hobos.py index f9ce79f65..edda0b7bc 100644 --- a/wcs/ctl/check_hobos.py +++ b/wcs/ctl/check_hobos.py @@ -225,7 +225,7 @@ class CmdCheckHobos(Command): field_class = StringField if attribute['kind'] == 'email': field_class = EmailField - elif attribute['kind'] in ('date', 'birthdate'): + elif attribute['kind'] in ('date', 'birthdate', 'fedict_date'): field_class = DateField new_field = field_class(label=attribute['label'].encode('utf-8'), type=field_class.key, -- 2.19.0