cwvreg.py
branchstable
changeset 1917 eaf6e0edc509
parent 1769 fb91d2b8a441
child 1923 3802c2e37e72
--- a/cwvreg.py	Fri May 22 15:48:25 2009 +0200
+++ b/cwvreg.py	Sun May 24 02:04:07 2009 +0200
@@ -372,6 +372,8 @@
         default to a dump of the class registered for 'Any'
         """
         usercls = super(MulCnxCubicWebRegistry, self).etype_class(etype)
+        if etype == 'Any':
+            return usercls
         usercls.e_schema = self.schema.eschema(etype)
         return usercls