mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Pylint: add missing attributes of errors to definitions
Attributes are added to IPA error objects dynamicaly and pylint is not able to handle it itself. Add missing attributes to definitions in pylint plugin. https://fedorahosted.org/freeipa/ticket/5615 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
0d39abddc2
commit
5c33edcd11
@ -96,6 +96,39 @@ ipa_class_members = {
|
||||
'startup_traceback',
|
||||
'verbose'
|
||||
] + LOGGING_ATTRS,
|
||||
'ipalib.errors.ACIError': [
|
||||
'info',
|
||||
],
|
||||
'ipalib.errors.ConversionError': [
|
||||
'error',
|
||||
],
|
||||
'ipalib.errors.DatabaseError': [
|
||||
'desc',
|
||||
],
|
||||
'ipalib.errors.NetworkError': [
|
||||
'error',
|
||||
],
|
||||
'ipalib.errors.NotFound': [
|
||||
'reason',
|
||||
],
|
||||
'ipalib.errors.PublicError': [
|
||||
'msg',
|
||||
'strerror',
|
||||
],
|
||||
'ipalib.errors.SingleMatchExpected': [
|
||||
'found',
|
||||
],
|
||||
'ipalib.errors.SkipPluginModule': [
|
||||
'reason',
|
||||
],
|
||||
'ipalib.errors.ValidationError': [
|
||||
'error',
|
||||
],
|
||||
'ipalib.messages.PublicMessage': [
|
||||
'msg',
|
||||
'strerror',
|
||||
'type',
|
||||
],
|
||||
'ipalib.parameters.Param': [
|
||||
'cli_name',
|
||||
'cli_short_name',
|
||||
@ -162,6 +195,9 @@ ipa_class_members = {
|
||||
'ipalib.session.AuthManager': LOGGING_ATTRS,
|
||||
'ipalib.session.SessionAuthManager': LOGGING_ATTRS,
|
||||
'ipalib.session.SessionManager': LOGGING_ATTRS,
|
||||
'ipalib.util.ForwarderValidationError': [
|
||||
'msg',
|
||||
],
|
||||
'ipaserver.install.ldapupdate.LDAPUpdate': LOGGING_ATTRS,
|
||||
'ipaserver.rpcserver.KerberosSession': [
|
||||
fake_api,
|
||||
|
Loading…
Reference in New Issue
Block a user