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:
@@ -46,6 +46,8 @@ class ACI(object):
|
||||
entry in LDAP. Has methods to parse an ACI string and export to an
|
||||
ACI String.
|
||||
"""
|
||||
__hash__ = None
|
||||
|
||||
def __init__(self,acistr=None):
|
||||
self.name = None
|
||||
self.source_group = None
|
||||
|
||||
Reference in New Issue
Block a user