diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-01-28 14:55:20 +0100 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-01-29 15:39:49 +0100 |
commit | 77bb4b517769f7707514b0f7e3da5762ff0f1cc4 (patch) | |
tree | 36009d639a72d746c653b79d9562cd738cf3ac43 /ipalib/krb_utils.py | |
parent | 41d11f443bebc0a1303980363a4f751bfdbf2c12 (diff) | |
download | freeipa-77bb4b517769f7707514b0f7e3da5762ff0f1cc4.tar.gz freeipa-77bb4b517769f7707514b0f7e3da5762ff0f1cc4.tar.xz freeipa-77bb4b517769f7707514b0f7e3da5762ff0f1cc4.zip |
Pylint cleanup.
Add more dynamic attribute info to IPATypeChecker in make-lint. Remove
unnecessary pylint comments. Fix false positivies introduced by Pylint 0.26.
https://fedorahosted.org/freeipa/ticket/3379
Diffstat (limited to 'ipalib/krb_utils.py')
-rw-r--r-- | ipalib/krb_utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/krb_utils.py b/ipalib/krb_utils.py index b0010e9e5..9a557ce5c 100644 --- a/ipalib/krb_utils.py +++ b/ipalib/krb_utils.py @@ -231,7 +231,7 @@ class KRB5_CCache(object): error_code = e.args[0] if error_code == KRB5_CC_NOTFOUND: raise KeyError('"%s" credential not found in "%s" ccache' % \ - (krbV_principal.name, self.ccache_str())) #pylint: disable=E1103 + (krbV_principal.name, self.ccache_str())) raise e except Exception, e: raise e @@ -282,7 +282,7 @@ class KRB5_CCache(object): authtime, starttime, endtime, renew_till = cred[3] self.debug('get_credential_times: principal=%s, authtime=%s, starttime=%s, endtime=%s, renew_till=%s', - krbV_principal.name, #pylint: disable=E1103 + krbV_principal.name, krb5_format_time(authtime), krb5_format_time(starttime), krb5_format_time(endtime), krb5_format_time(renew_till)) @@ -291,7 +291,7 @@ class KRB5_CCache(object): except KeyError, e: raise e except Exception, e: - self.error('get_credential_times failed, principal="%s" error="%s"', krbV_principal.name, e) #pylint: disable=E1103 + self.error('get_credential_times failed, principal="%s" error="%s"', krbV_principal.name, e) raise e def credential_is_valid(self, principal): |