From e5f682a81a37a7e775978fa35a69c7ba77f14208 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 2 Jun 2008 10:23:27 +0000 Subject: [PATCH] fix wrong syntax --- src/roster_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 063b43d2e..623078279 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -550,13 +550,13 @@ class RosterWindow: old_big_contact, self.model) assert len(iters) > 0, 'Old Big Brother %s is not in roster anymore' % \ old_big_jid - assert not self.model.iter_children(iters[0]), + assert not self.model.iter_children(iters[0]),\ 'Old Big Brother %s still has children' % old_big_jid ok = self._remove_entity(old_big_contact, old_big_account) assert ok, "Old Big Brother %s not removed" % old_big_jid assert len(self._get_contact_iter(old_big_jid, old_big_account, - old_big_contact, self.model)) == 0, + old_big_contact, self.model)) == 0,\ 'Old Big Brother %s is removed but still in roster' % old_big_jid return True