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

prevent traceback

parent 75d81bdd
......@@ -93,7 +93,8 @@ class NonBlockingClient:
if 'NonBlockingNonSASL' in self.__dict__:
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'
Supports Markdown
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