Fix indentation.
svn path=/plone.app.discussion/trunk/; revision=39322
This commit is contained in:
parent
4390b8929b
commit
318afe5aae
@ -15,6 +15,7 @@ def patchedClearFindAndRebuild(self):
|
|||||||
with an indexObject method), and reindexes them.
|
with an indexObject method), and reindexes them.
|
||||||
This may take a long time.
|
This may take a long time.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def indexObject(obj, path):
|
def indexObject(obj, path):
|
||||||
|
|
||||||
if (base_hasattr(obj, 'indexObject') and
|
if (base_hasattr(obj, 'indexObject') and
|
||||||
@ -44,3 +45,4 @@ def patchedClearFindAndRebuild(self):
|
|||||||
self.manage_catalogClear()
|
self.manage_catalogClear()
|
||||||
portal = aq_parent(aq_inner(self))
|
portal = aq_parent(aq_inner(self))
|
||||||
portal.ZopeFindAndApply(portal, search_sub=True, apply_func=indexObject)
|
portal.ZopeFindAndApply(portal, search_sub=True, apply_func=indexObject)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user