From 37be46d4749170b999f7d1f79d804a45ccf84ae7 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 29 Jul 2013 13:44:37 +0200 Subject: [PATCH] fix using generator.next() to next(generator) --- src/disco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/disco.py b/src/disco.py index 68c445ba4..8d0d5ddfb 100644 --- a/src/disco.py +++ b/src/disco.py @@ -1130,7 +1130,7 @@ _('This service does not contain any items to browse.')) #stop idle_add() yield False loader = fill_partial_rows(items) - gobject.idle_add(loader.next) + GLib.idle_add(next, loader) def _agent_info(self, jid, node, identities, features, data): """