Commit 72ae2f08 authored by Yann Leboulanger's avatar Yann Leboulanger

prevent traceback

parent 75d81bdd
......@@ -93,7 +93,8 @@ class NonBlockingClient:
if 'NonBlockingNonSASL' in self.__dict__:
self.NonBlockingNonSASL.PlugOut()
if 'SASL' in self.__dict__:
if self.SASL.startsasl == 'failure-in-process':
if 'startsasl' in self.SASL.__dict__ and \
self.SASL.startsasl == 'failure-in-process':
sasl_failed = True
self.SASL.startsasl = 'failure'
self._on_start_sasl()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment