elastic/shared/utils/file.py [65:73]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                doc, size = self.processor(doc_bytes, i, self.corpus_name)
                docs.append(doc)
                total_size += size
            return docs, total_size
        except IOError:
            self.logger.exception("Could not read [%s]", self.data_file)
            raise
        except StopIteration:
            return None, 0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



elastic/shared/utils/file.py [90:98]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                doc, size = self.processor(doc_bytes, i, self.corpus_name)
                docs.append(doc)
                total_size += size
            return docs, total_size
        except IOError:
            self.logger.exception("Could not read [%s]", self.data_file)
            raise
        except StopIteration:
            return None, 0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



