cwvreg.py
changeset 3376 f5c69485381f
parent 3369 7b88d12b4ee2
child 3451 6b46d73823f5
--- a/cwvreg.py	Wed Sep 23 08:17:52 2009 +0200
+++ b/cwvreg.py	Wed Sep 23 08:42:52 2009 +0200
@@ -161,11 +161,11 @@
             objects = self['Any']
             assert len(objects) == 1, objects
             cls = objects[0]
-        # make a copy event if cls.__id__ == etype, else we may have pb for
+        # make a copy event if cls.__regid__ == etype, else we may have pb for
         # client application using multiple connections to different
         # repositories (eg shingouz)
         cls = dump_class(cls, etype)
-        cls.__id__ = etype
+        cls.__regid__ = etype
         cls.__initialize__(self.schema)
         return cls