diff options
author | Jan Cholasta <jcholast@redhat.com> | 2011-04-07 16:53:52 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-04-13 15:58:45 +0200 |
commit | 1ac3ed2c271accc0776a3cc34fbe607acf62da17 (patch) | |
tree | bf1be818d135e75556e2b6864cb77e663bf9369d /ipalib/plugins/baseldap.py | |
parent | fb329bc8b0dcde54b113fd0cc4b03ab9c11febd0 (diff) | |
download | freeipa-1ac3ed2c271accc0776a3cc34fbe607acf62da17.tar.gz freeipa-1ac3ed2c271accc0776a3cc34fbe607acf62da17.tar.xz freeipa-1ac3ed2c271accc0776a3cc34fbe607acf62da17.zip |
Fix lint false positives.
Diffstat (limited to 'ipalib/plugins/baseldap.py')
-rw-r--r-- | ipalib/plugins/baseldap.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py index 8053b2786..d516ed673 100644 --- a/ipalib/plugins/baseldap.py +++ b/ipalib/plugins/baseldap.py @@ -439,6 +439,7 @@ class CallbackInterface(Method): Callback registration interface """ def __init__(self): + #pylint: disable=E1003 if not hasattr(self.__class__, 'PRE_CALLBACKS'): self.__class__.PRE_CALLBACKS = [] if not hasattr(self.__class__, 'POST_CALLBACKS'): @@ -512,6 +513,7 @@ class LDAPCreate(CallbackInterface, crud.Create): takes_options = _attr_options def get_args(self): + #pylint: disable=E1003 for key in self.obj.get_ancestor_primary_keys(): yield key if self.obj.primary_key: @@ -645,6 +647,7 @@ class LDAPQuery(CallbackInterface, crud.PKQuery): Base class for commands that need to retrieve an existing entry. """ def get_args(self): + #pylint: disable=E1003 for key in self.obj.get_ancestor_primary_keys(): yield key if self.obj.primary_key: @@ -665,6 +668,7 @@ class LDAPMultiQuery(LDAPQuery): ) def get_args(self): + #pylint: disable=E1003 for key in self.obj.get_ancestor_primary_keys(): yield key if self.obj.primary_key: @@ -1268,6 +1272,7 @@ class LDAPSearch(CallbackInterface, crud.Search): ) def get_args(self): + #pylint: disable=E1003 for key in self.obj.get_ancestor_primary_keys(): yield key yield Str('criteria?') |