From 5e44243758c9ecc5987b8c8efbd43f7ccb954fd6 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 20 Mar 2009 20:02:05 +0000 Subject: [PATCH] fix traceback with kerberos GSSError handling. --- src/common/xmpp/auth_nb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/xmpp/auth_nb.py b/src/common/xmpp/auth_nb.py index fdbd0a1e6..65148ffb7 100644 --- a/src/common/xmpp/auth_nb.py +++ b/src/common/xmpp/auth_nb.py @@ -213,7 +213,7 @@ class SASL(PlugIn): self.startsasl = SASL_IN_PROCESS self._owner.send(str(node)) raise NodeProcessed - except GSSError, e: + except kerberos.GSSError, e: log.info('GSSAPI authentication failed: %s' % str(e)) if 'DIGEST-MD5' in self.mecs: self.mecs.remove('DIGEST-MD5')