cwvreg.py
changeset 2894 4b720d82a1e4
parent 2829 054a8805da52
child 2898 a485d80b8fcb
--- 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'))