Skip to content

Commit

Permalink
Document via comment.
Browse files Browse the repository at this point in the history
Maybe it's time for type annotations πŸ˜›
  • Loading branch information
Michael Howitz committed Dec 6, 2019
1 parent 6138fb9 commit a7f401b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Products/ZCatalog/ZCatalog.py
Expand Up @@ -410,6 +410,8 @@ def manage_clearIndex(self, ids=None,

@security.protected(manage_zcatalog_entries)
def reindexIndex(self, name, REQUEST, pghandler=None):
# This method does the actual reindexing of indexes.
# `name` can be the name of an index of a list of names.
idxs = (name, ) if isinstance(name, str) else name
paths = self._catalog.uids.keys()

Expand Down

0 comments on commit a7f401b

Please sign in to comment.