mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
pylint: disable __hash__ for some classes
pylint requires all classes implementing __eq__ to also implement __hash__. We disable hashing for the classes that miss the ability, should they ever be required to use it, it can be implemented then. https://pagure.io/freeipa/issue/6874 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -174,6 +174,8 @@ class LDAPEntry(collections.MutableMapping):
|
||||
'_not_list', '_orig_raw', '_raw_view',
|
||||
'_single_value_view')
|
||||
|
||||
__hash__ = None
|
||||
|
||||
def __init__(self, _conn, _dn=None, _obj=None, **kwargs):
|
||||
"""
|
||||
LDAPEntry constructor.
|
||||
|
Reference in New Issue
Block a user