dataset/seed/applicationservice/2022.03.08/roundcube/funcs/roundcube.py
Emmanuel Garette 0cab627154 update
2022-06-24 19:00:16 +02:00

10 lines
217 B
Python

def calc_roundcube_family(families):
if not families:
return
uniq_fam = set(families)
if len(set(families)) > 1:
return 'all'
if not uniq_fam[0]:
return
return uniq_fam[0]