diff -r f117f6cefad0 -r 663f42a881ba server/sources/__init__.py --- a/server/sources/__init__.py Fri Jan 09 17:00:21 2009 +0100 +++ b/server/sources/__init__.py Fri Jan 09 19:38:47 2009 +0100 @@ -161,7 +161,7 @@ for etype in rschema.objects(): if self.support_entity(etype): sql = 'DELETE FROM %s_relation WHERE eid_to IN (%s);' % ( - rschema.type, eid) + rschema.type, myeids) session.system_sql(sql) break # sqlite doesn't support DELETE FROM xxx USING yyy