web/views/xbel.py
changeset 5877 0c7b7b76a84f
parent 5424 8ecbcbff9777
child 8035 f98012ec7c53
--- a/web/views/xbel.py	Fri Jul 02 19:14:48 2010 +0200
+++ b/web/views/xbel.py	Mon Jul 05 12:04:32 2010 +0200
@@ -23,7 +23,7 @@
 
 from logilab.mtconverter import xml_escape
 
-from cubicweb.selectors import implements
+from cubicweb.selectors import is_instance
 from cubicweb.view import EntityView
 from cubicweb.web.views.xmlrss import XMLView
 
@@ -62,7 +62,7 @@
 
 
 class XbelItemBookmarkView(XbelItemView):
-    __select__ = implements('Bookmark')
+    __select__ = is_instance('Bookmark')
 
     def url(self, entity):
         return entity.actual_url()