Fix indentation.

svn path=/plone.app.discussion/trunk/; revision=39322
This commit is contained in:
Timo Stollenwerk 2010-08-28 19:45:53 +00:00
parent 4390b8929b
commit 318afe5aae
1 changed files with 30 additions and 28 deletions

View File

@ -15,6 +15,7 @@ def patchedClearFindAndRebuild(self):
with an indexObject method), and reindexes them.
This may take a long time.
"""
def indexObject(obj, path):
if (base_hasattr(obj, 'indexObject') and
@ -44,3 +45,4 @@ def patchedClearFindAndRebuild(self):
self.manage_catalogClear()
portal = aq_parent(aq_inner(self))
portal.ZopeFindAndApply(portal, search_sub=True, apply_func=indexObject)