• R/O
  • HTTP
  • SSH
  • HTTPS

newslash: 提交

newslash


Commit MetaInfo

修订版6206bc0147b373d61df2fee3520efc7118ac3726 (tree)
时间2019-06-19 18:30:34
作者hylom <hylom@user...>
Commiterhylom

Log Message

ns_search: hide unwanted console output when update all index

更改概述

差异

--- a/src/ns_search/newslash_index/index.py
+++ b/src/ns_search/newslash_index/index.py
@@ -259,22 +259,11 @@ class Index(object):
259259 errors = 0
260260
261261 results.append(self.update_story(batch_size, progress_cb, error_cb))
262- print("update story index done.")
263-
264262 results.append(self.update_comment(batch_size, progress_cb, error_cb))
265- print("update comment index done.")
266-
267263 results.append(self.update_journal(batch_size, progress_cb, error_cb))
268- print("update journal index done.")
269-
270264 results.append(self.update_submission(batch_size, progress_cb, error_cb))
271- print("update submission index done.")
272-
273265 results.append(self.update_poll(batch_size, progress_cb, error_cb))
274- print("update poll index done.")
275-
276266 results.append(self.update_user(batch_size, progress_cb, error_cb))
277- print("update user index done.")
278267
279268 for i in range(0, len(results)):
280269 success += results[i][0]
Show on old repository browser