Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
removing oudated reference to self.options.refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoiko committed Jun 1, 2015
1 parent 5259f06 commit fbf1d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nefertari/scripts/es.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ def run(self):
es.put_mapping(body=model.get_es_mapping())
self.log.info('Indexing all `{}` documents'.format(
model_name))
es.index(documents, refresh_index=self.options.refresh)
es.index(documents)
else:
self.log.info('Indexing missing `{}` documents'.format(
model_name))
es.index_missing_documents(
documents, refresh_index=self.options.refresh)
documents)

return 0

0 comments on commit fbf1d89

Please sign in to comment.