server/sources/__init__.py
changeset 5557 1a534c596bff
parent 5424 8ecbcbff9777
child 5655 ef903fff826d
--- a/server/sources/__init__.py	Thu May 20 20:47:55 2010 +0200
+++ b/server/sources/__init__.py	Thu May 20 20:50:00 2010 +0200
@@ -341,7 +341,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):