Skip to content

Commit

Permalink
Fix logger message in lsi_dispatcher (#1603)
Browse files Browse the repository at this point in the history
* Fix logger message typo in lsi_dispatcher

* small fix
  • Loading branch information
lorosanu authored and menshikh-iv committed Oct 2, 2017
1 parent 36a5cb9 commit 96d230a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gensim/models/lsi_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def getstate(self):
# and not `workers - 1` merges!
# but merging only takes place once, after all input data has been processed,
# so the overall effect would be small... compared to the amount of coding :-)
logger.info("merging states from %i workers", self.workers)
logger.info("merging states from %i workers", len(self.workers))
workers = list(self.workers.items())
result = workers[0][1].getstate()
for workerid, worker in workers[1:]:
Expand Down Expand Up @@ -175,7 +175,6 @@ def exit(self):
worker.exit()
logger.info("terminating dispatcher")
os._exit(0) # exit the whole process (not just this thread ala sys.exit())
# endclass Dispatcher


def main():
Expand Down

0 comments on commit 96d230a

Please sign in to comment.