skip final type stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 16 Oct 2009 14:37:42 +0200
branchstable
changeset 3702 29cce43d6af2
parent 3701 104b7c326172
child 3703 f8955575541c
skip final type
cwvreg.py
--- a/cwvreg.py	Fri Oct 16 14:37:26 2009 +0200
+++ b/cwvreg.py	Fri Oct 16 14:37:42 2009 +0200
@@ -374,6 +374,8 @@
             implemented_interfaces = set()
             if 'Any' in self.get('etypes', ()):
                 for etype in self.schema.entities():
+                    if etype.final:
+                        continue
                     cls = self['etypes'].etype_class(etype)
                     for iface in cls.__implements__:
                         implemented_interfaces.update(iface.__mro__)