Disable assertions. Remove a statement which is not supported by python24.

This commit is contained in:
Stephan Erb 2008-11-06 08:19:24 +00:00
parent 540fba2aaa
commit 0684ec1d3d
2 changed files with 1 additions and 4 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh
cd "$(dirname $0)/src"
exec python -t gajim.py $@
exec python -OOt gajim.py $@

View File

@ -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):