Projet

Général

Profil

0001-authentic-handle-role-emails-being-None-25670.patch

Frédéric Péters, 13 août 2018 21:33

Télécharger (832 octets)

Voir les différences:

Subject: [PATCH] authentic: handle role emails being None (#25670)

 hobo/agent/authentic2/role_forms.py | 2 ++
 1 file changed, 2 insertions(+)
hobo/agent/authentic2/role_forms.py
41 41

  
42 42
class CommaSeparatedInput(forms.TextInput):
43 43
    def _format_value(self, value):
44
        if not value:
45
            return ''
44 46
        if not isinstance(value, basestring):
45 47
            return u', '.join(value)
46 48
        return value
47
-