Skip to content

Commit

Permalink
Remove logging with f-string, which breaks py35 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lopusz committed Nov 7, 2019
1 parent 60190db commit 86d2a33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gensim/models/utils_any2vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ def __add_words_from_binary_chunk_to_result(result, counts, max_words, chunk, n_
word = chunk[start:i_space].decode("utf-8", errors=unicode_errors)
# Some binary files are reported to have obsolete new line in the beginning of word, remove it
word = __remove_initial_new_line(word)
logger.info(f"Read word \"{word}\"")
vector = frombuffer(chunk[i_vector:i_vector + n_bytes_per_vector], dtype=REAL).astype(datatype)
__add_word_to_result(result, counts, word, vector)
start = i_vector + n_bytes_per_vector
Expand Down

0 comments on commit 86d2a33

Please sign in to comment.