Projet

Général

Profil

0042-misc-fix-comparison-with-callable-pylint-error-56982.patch

Valentin Deniaud, 21 septembre 2021 17:09

Télécharger (903 octets)

Voir les différences:

Subject: [PATCH 42/59] misc: fix comparison-with-callable pylint error
 (#56982)

 src/authentic2/views.py | 1 +
 1 file changed, 1 insertion(+)
src/authentic2/views.py
1243 1243
                if attribute.name not in data:
1244 1244
                    continue
1245 1245
                kind = attribute.get_kind()
1246
                # pylint: disable=comparison-with-callable
1246 1247
                if kind['serialize'] == attribute_kinds.identity:
1247 1248
                    continue
1248 1249
                data[attribute.name] = kind['serialize'](data[attribute.name])
1249
-