Skip to content

Commit

Permalink
Merge bfcf763 into 87d2606
Browse files Browse the repository at this point in the history
  • Loading branch information
ppanero committed Nov 14, 2019
2 parents 87d2606 + bfcf763 commit 8eb2b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_search/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def init(force):
"""Initialize registered aliases and mappings."""
click.secho('Creating indexes...', fg='green', bold=True, file=sys.stderr)
with click.progressbar(
current_search.create(ignore=[400] if force else None),
current_search.create(ignore_existing=force),
length=len(current_search.mappings)) as bar:
for name, response in bar:
bar.label = name
Expand Down

0 comments on commit 8eb2b60

Please sign in to comment.