prevent traceback. Fixes #4319
This commit is contained in:
parent
4917e0c3df
commit
44277d6c40
|
@ -292,7 +292,8 @@ class NonBlockingClient(NBCommonClient):
|
||||||
def _on_auth_bind(self, data):
|
def _on_auth_bind(self, data):
|
||||||
if data:
|
if data:
|
||||||
self.Dispatcher.ProcessNonBlocking(data)
|
self.Dispatcher.ProcessNonBlocking(data)
|
||||||
if self.NonBlockingBind.bound is None:
|
if not hasattr(self, NonBlockingBind) or self.NonBlockingBind.bound is \
|
||||||
|
None:
|
||||||
return
|
return
|
||||||
self.NonBlockingBind.NonBlockingBind(self._Resource, self._on_sasl_auth)
|
self.NonBlockingBind.NonBlockingBind(self._Resource, self._on_sasl_auth)
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue