# HG changeset patch # User Sylvain Thénault # Date 1255696662 -7200 # Node ID 29cce43d6af2726116c4d7162ab23672d39a6ad1 # Parent 104b7c3261726c38f0b6a12394defb68dcf41b2d skip final type diff -r 104b7c326172 -r 29cce43d6af2 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__)