--- a/server/sources/native.py Thu Jan 15 15:45:09 2015 +0100
+++ b/server/sources/native.py Fri Jan 16 10:57:02 2015 +0100
@@ -1230,7 +1230,7 @@
# unvisible as transaction action
self.doexec(cnx, 'DELETE FROM is_relation WHERE eid_from=%s' % eid)
self.doexec(cnx, 'DELETE FROM is_instance_of_relation WHERE eid_from=%s' % eid)
- self.doexec(cnx, 'DELETE FROM cw_source_relation WHERE eid_from=%s' % self.eid)
+ self.doexec(cnx, 'DELETE FROM cw_source_relation WHERE eid_from=%s' % eid)
# XXX check removal of inlined relation?
# delete the entity
attrs = {'cw_eid': eid}