Disable assertions. Remove a statement which is not supported by python24.
This commit is contained in:
parent
540fba2aaa
commit
0684ec1d3d
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
cd "$(dirname $0)/src"
|
||||
exec python -t gajim.py $@
|
||||
exec python -OOt gajim.py $@
|
||||
|
|
|
@ -404,9 +404,6 @@ class RosterWindow:
|
|||
gajim.groups[account][group] = {'expand': is_expanded}
|
||||
|
||||
assert len(added_iters), '%s has not been added to roster!' % contact.jid
|
||||
# assert all(self.model[titer][C_JID] == contact.jid and \
|
||||
# self.model[titer][C_ACCOUNT] == account for titer in added_iters), \
|
||||
# "Iters invalidated for %s" % contact.jid
|
||||
return added_iters
|
||||
|
||||
def _remove_entity(self, contact, account, groups=None):
|
||||
|
|
Loading…
Reference in New Issue