Remove redundant info

This commit is contained in:
Stephan Porada 2020-01-20 15:53:06 +01:00
parent 3e85daf8ab
commit 5c5f7012eb

View File

@ -193,11 +193,11 @@ class CQiWrapper(CQiClient):
all_cpos_infos, text_lookup = self.get_cpos_infos(all_cpos) all_cpos_infos, text_lookup = self.get_cpos_infos(all_cpos)
t3 = time.time() t3 = time.time()
t_final = t3 - t2 t_final = t3 - t2
logger.warning('Got infos for {} CPOS in {} seconds:'.format(len_all_cpos, t_final)) logger.warning('Got infos for {} CPOS in {} seconds:'.format(len_all_cpos,
t_final))
self.results = {'matches': all_matches, self.results = {'matches': all_matches,
'cpos_lookup': all_cpos_infos, 'cpos_lookup': all_cpos_infos,
'text_lookup': text_lookup, 'text_lookup': text_lookup,
'nr_matches': self.nr_matches,
'total_nr_matches': self.total_nr_matches} 'total_nr_matches': self.total_nr_matches}
return self.results return self.results