Skip to content
Snippets Groups Projects
Commit 44277d6c authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

prevent traceback. Fixes #4319

parent 4917e0c3
No related branches found
No related tags found
No related merge requests found
......@@ -292,7 +292,8 @@ class NonBlockingClient(NBCommonClient):
def _on_auth_bind(self, data):
if data:
self.Dispatcher.ProcessNonBlocking(data)
if self.NonBlockingBind.bound is None:
if not hasattr(self, NonBlockingBind) or self.NonBlockingBind.bound is \
None:
return
self.NonBlockingBind.NonBlockingBind(self._Resource, self._on_sasl_auth)
return True
......@@ -408,4 +409,4 @@ class Component(NBCommonClient):
self.NBComponentBind.PlugOut()
# vim: se ts=3:
\ No newline at end of file
# vim: se ts=3:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment