author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 18 Aug 2009 00:28:55 +0200 | |
changeset 2894 | 4b720d82a1e4 |
parent 2893 | 5989ce0707bc |
child 2895 | 903bd3f89f80 |
--- a/cwvreg.py Tue Aug 18 00:28:37 2009 +0200 +++ b/cwvreg.py Tue Aug 18 00:28:55 2009 +0200 @@ -106,6 +106,8 @@ @cached def parent_classes(self, etype): + if etype == 'Any': + return [self.etype_class('Any')] eschema = self.schema.eschema(etype) parents = [cls.etype_class(e.type) for e in eschema.ancestors()] parents.append(self.etype_class('Any'))