Removed a change from the previous commit because I would not have done it. I need sleep.

This commit is contained in:
Anaël Verrier 2010-01-03 01:57:44 +01:00
parent 5e744a3e8e
commit 5b9582bf01
1 changed files with 2 additions and 7 deletions

View File

@ -974,13 +974,8 @@ class Logger:
(account_jid_id, jid_id))
# Then we add all new groups information
for group in groups:
try:
self.cur.execute('INSERT INTO roster_group VALUES(?, ?, ?)',
(account_jid_id, jid_id, group))
except IntegrityError:
# Some servers (like jabberd) seems to put contact twice in the
# roster. So we do nothing if it appears. (see #5206)
pass
self.cur.execute('INSERT INTO roster_group VALUES(?, ?, ?)',
(account_jid_id, jid_id, group))
if name is None:
name = ''