don't continue testing next Ips when on work

This commit is contained in:
Yann Leboulanger 2010-11-02 22:23:13 +01:00
parent 21f66fcc47
commit 59c8eb05a3
1 changed files with 1 additions and 0 deletions

View File

@ -321,6 +321,7 @@ class NonBlockingClient:
elif mode == 'RECEIVE_DOCUMENT_ATTRIBUTES':
if data:
self.Dispatcher.ProcessNonBlocking(data)
self.ip_addresses = []
if not hasattr(self, 'Dispatcher') or \
self.Dispatcher.Stream._document_attrs is None:
self._xmpp_connect_machine(