fix traceback with kerberos GSSError handling.

This commit is contained in:
Yann Leboulanger 2009-03-20 20:02:05 +00:00
parent fc64374d81
commit 5e44243758

View file

@ -213,7 +213,7 @@ class SASL(PlugIn):
self.startsasl = SASL_IN_PROCESS self.startsasl = SASL_IN_PROCESS
self._owner.send(str(node)) self._owner.send(str(node))
raise NodeProcessed raise NodeProcessed
except GSSError, e: except kerberos.GSSError, e:
log.info('GSSAPI authentication failed: %s' % str(e)) log.info('GSSAPI authentication failed: %s' % str(e))
if 'DIGEST-MD5' in self.mecs: if 'DIGEST-MD5' in self.mecs:
self.mecs.remove('DIGEST-MD5') self.mecs.remove('DIGEST-MD5')