Skip to content

Commit

Permalink
Fixed an issue with toberemoved_indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
RK206 committed Dec 10, 2024
1 parent 21ae6f8 commit 7d82585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions portality/scripts/anon_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ def do_import(config):
print("\n")

toberemoved_index_prefixes = [ipt_prefix(import_type) for import_type in import_types.keys()]
toberemoved_indexes = itertools.chain.from_iterable(
toberemoved_indexes = list(itertools.chain.from_iterable(
find_toberemoved_indexes(p) for p in toberemoved_index_prefixes
)
))
toberemoved_index_aliases = list(portality.dao.find_index_aliases(toberemoved_index_prefixes))

if toberemoved_indexes:
Expand Down

0 comments on commit 7d82585

Please sign in to comment.