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"
This commit is contained in:
parent
9d6a1a5dc2
commit
cdddb0158a
1 changed files with 1 additions and 4 deletions
|
@ -678,11 +678,8 @@ class GajimCore:
|
||||||
return list_ev
|
return list_ev
|
||||||
|
|
||||||
def request_infos(self, account, con, jid):
|
def request_infos(self, account, con, jid):
|
||||||
try: # FIXME: nk 2 yann. is this the best way ?
|
if con:
|
||||||
con.discoverInfo(jid)
|
con.discoverInfo(jid)
|
||||||
except AttributeError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def read_queue(self):
|
def read_queue(self):
|
||||||
while self.hub.queueIn.empty() == 0:
|
while self.hub.queueIn.empty() == 0:
|
||||||
|
|
Loading…
Add table
Reference in a new issue