def readLatency(self, file_id):
        configDic = {}

        pattern = '~([^~]+) Latency(~+)'

        line = file_id.readline()

        while(not re.search(self.section_separator, line) and not re.search(self.section_separator_with_date,line)):
            if line.strip().__len__() != 0:
                m1 = re.search(pattern, line)

                if m1:
                    dic = configDic
                    key = m1.group(1).strip()
                    dic[key] = self.latencyTableToDic(file_id)

            try:
                line = file_id.readline()
            except __HOLE__:
                break

        return configDic
dataset/ETHPy150Open aerospike/aerospike-admin/lib/logreader.py/LogReader.readLatency