Skip to content

Commit

Permalink
Collector #1826: manage_convertIndexes() did not handle PathIndexes p…
Browse files Browse the repository at this point in the history
…roperly
  • Loading branch information
zopyx committed Jul 2, 2005
1 parent ee7313b commit 76d0575
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ZCatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,10 +927,14 @@ def manage_convertIndexes(self, REQUEST=None, RESPONSE=None, URL1=None):
for idx in self.Indexes.objectValues():
bases = [str(name) for name in idx.__class__.__bases__]
found = False
for base in bases:
if 'UnIndex' in base:
found = True
break

if idx.meta_type == 'PathIndex':
found = True
else:
for base in bases:
if 'UnIndex' in base:
found = True
break

if found:
idx_type = idx.meta_type
Expand Down

0 comments on commit 76d0575

Please sign in to comment.