server/sources/__init__.py
branchstable
changeset 5994 97c55baefa0c
parent 5849 9db65b381028
child 6057 cb5c8852cbda
--- a/server/sources/__init__.py	Thu Jul 15 12:03:13 2010 +0200
+++ b/server/sources/__init__.py	Mon Jul 19 15:37:02 2010 +0200
@@ -342,7 +342,7 @@
         entity.
         """
         entity = self.repo.vreg['etypes'].etype_class(etype)(session)
-        entity.set_eid(eid)
+        entity.eid = eid
         return entity
 
     def after_entity_insertion(self, session, lid, entity):