0042-misc-fix-comparison-with-callable-pylint-error-56982.patch
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 |
- |