From cdddb0158ad04ef2ea9b10e75e64b9fdafbf352b Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Mon, 28 Mar 2005 10:47:36 +0000 Subject: [PATCH] I think it's better like that for my try often means "I don't really know if it will work so I put it in try" --- Core/core.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Core/core.py b/Core/core.py index 9129c98725..5fc654d837 100644 --- a/Core/core.py +++ b/Core/core.py @@ -678,11 +678,8 @@ class GajimCore: return list_ev def request_infos(self, account, con, jid): - try: # FIXME: nk 2 yann. is this the best way ? + if con: con.discoverInfo(jid) - except AttributeError: - pass - def read_queue(self): while self.hub.queueIn.empty() == 0: -- GitLab