--- a/cwvreg.py Tue Oct 12 14:10:58 2010 +0200
+++ b/cwvreg.py Tue Oct 12 14:13:07 2010 +0200
@@ -196,7 +196,7 @@
from warnings import warn
from logilab.common.decorators import cached, clear_cache
-from logilab.common.deprecation import deprecated
+from logilab.common.deprecation import deprecated, class_deprecated
from logilab.common.modutils import cleanup_sys_modules
from rql import RQLHelper
@@ -389,6 +389,8 @@
for vid, views in self.items():
if vid[0] == '_':
continue
+ views = [view for view in views
+ if not isinstance(view, class_deprecated)]
try:
view = self._select_best(views, req, rset=rset, **kwargs)
if view.linkable():