--- a/doc/book/en/annexes/faq.rst Thu Feb 02 14:33:30 2012 +0100
+++ b/doc/book/en/annexes/faq.rst Mon Jan 23 13:25:02 2012 +0100
@@ -194,7 +194,7 @@
"""return an iterator on possible objects in this registry for the given
context
"""
- from cubicweb.selectors import traced_selection
+ from logilab.common.registry import traced_selection
with traced_selection():
for appobjects in self.itervalues():
try:
@@ -217,7 +217,7 @@
def _select_view_and_rset(self, rset):
...
try:
- from cubicweb.selectors import traced_selection
+ from logilab.common.registry import traced_selection
with traced_selection():
view = self._cw.vreg['views'].select(vid, req, rset=rset)
except ObjectNotFound: