summaryrefslogtreecommitdiffstats
path: root/ipalib/krb_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/krb_utils.py')
-rw-r--r--ipalib/krb_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/krb_utils.py b/ipalib/krb_utils.py
index e6e277c7a..d005a87b6 100644
--- a/ipalib/krb_utils.py
+++ b/ipalib/krb_utils.py
@@ -161,7 +161,7 @@ def get_credentials(name=None, ccache_name=None):
return gssapi.Credentials(usage='initiate', name=name, store=store)
except gssapi.exceptions.GSSError as e:
if e.min_code == KRB5_FCC_NOFILE: # pylint: disable=no-member
- raise ValueError('"%s", ccache="%s"' % (e.message, ccache_name))
+ raise ValueError('"%s", ccache="%s"' % (e, ccache_name))
raise
def get_principal(ccache_name=None):