Skip to content

Commit

Permalink
Fix syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Dec 5, 2019
1 parent 4650aec commit 520efee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Products/ZCatalog/ZCatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,11 +410,7 @@ def manage_clearIndex(self, ids=None,

@security.protected(manage_zcatalog_entries)
def reindexIndex(self, name, REQUEST, pghandler=None):
if isinstance(name, str):
idxs = (name, )
else:
idxs = name

idxs = (name, ) if isinstance(name, str) else name
paths = self._catalog.uids.keys()

i = 0
Expand Down

0 comments on commit 520efee

Please sign in to comment.