--- a/entities/__init__.py Mon Aug 03 15:16:47 2009 +0200
+++ b/entities/__init__.py Mon Aug 03 15:42:47 2009 +0200
@@ -14,7 +14,6 @@
from cubicweb import Unauthorized, typed_eid
from cubicweb.entity import Entity
-from cubicweb.utils import dump_class
from cubicweb.interfaces import IBreadCrumbs, IFeed
@@ -26,19 +25,6 @@
id = 'Any'
__implements__ = (IBreadCrumbs, IFeed)
- @classmethod
- def selected(cls, etype):
- """the special Any entity is used as the default factory, so
- the actual class has to be constructed at selection time once we
- have an actual entity'type
- """
- if cls.id == etype:
- return cls
- usercls = dump_class(cls, etype)
- usercls.id = etype
- usercls.__initialize__()
- return usercls
-
fetch_attrs = ('modification_date',)
@classmethod
def fetch_order(cls, attr, var):