fix missing flush() calls

This commit is contained in:
Romain Bignon 2010-10-08 13:46:00 +02:00
commit 7fa04fe1d2
5 changed files with 14 additions and 1 deletions

View file

@ -43,6 +43,7 @@ class Chatoob(ReplApplication):
"""
for backend, contact in self.do('iter_contacts', status=Contact.STATUS_ONLINE, caps=ICapContact):
self.format(contact)
self.flush()
def do_messages(self, line):
"""
@ -52,6 +53,7 @@ class Chatoob(ReplApplication):
"""
for backend, message in self.do('iter_chat_messages'):
self.format(message)
self.flush()
def do_send(self, line):
"""