cwvreg.py
branch3.5
changeset 3032 f0ae6a5aba3e
parent 2927 d249dd9000d9
child 3035 2e4a381ea5b7
child 3071 6ad4e6d4df86
--- a/cwvreg.py	Wed Aug 26 19:53:01 2009 +0200
+++ b/cwvreg.py	Thu Aug 27 12:17:18 2009 +0200
@@ -142,9 +142,9 @@
             objects = self['Any']
             assert len(objects) == 1, objects
             cls = objects[0]
-        if cls.id == etype:
-            cls.__initialize__()
-            return cls
+        # make a copy event if cls.id == 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.__initialize__()