provide keyword argument 'ignore
checks' for faster search git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3806 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
d70e5a2bf4
commit
2d7ebd0288
1 changed files with 2 additions and 0 deletions
|
@ -164,6 +164,8 @@ class FullQuery(BaseQuery):
|
||||||
result = result.intersection(rc)
|
result = result.intersection(rc)
|
||||||
else:
|
else:
|
||||||
result = rc
|
result = rc
|
||||||
|
if kw.get('ignoreChecks'):
|
||||||
|
return ScoredSet(result, scores)
|
||||||
result = set(r for r in result
|
result = set(r for r in result
|
||||||
if r.getLoopsRoot() == self.loopsRoot
|
if r.getLoopsRoot() == self.loopsRoot
|
||||||
and canListObject(r)
|
and canListObject(r)
|
||||||
|
|
Loading…
Add table
Reference in a new issue