changeset 2807 | 696ff03f9a58 |
parent 2804 | 0d01413ec9ae |
child 2815 | ced3daf78e24 |
--- a/cwvreg.py Thu Aug 13 10:49:46 2009 +0200 +++ b/cwvreg.py Thu Aug 13 10:50:19 2009 +0200 @@ -136,11 +136,11 @@ assert len(objects) == 1, objects cls = objects[0] if cls.id == etype: - cls.__initialize__() + cls.__initialize__(self.schema) return cls cls = dump_class(cls, etype) cls.id = etype - cls.__initialize__() + cls.__initialize__(self.schema) return cls VRegistry.REGISTRY_FACTORY['etypes'] = ETypeRegistry