From 8f2dd6baa2881e6ec6604cebd1528d06c9217c32 Mon Sep 17 00:00:00 2001 From: Teingi Date: Thu, 21 Nov 2024 11:03:15 +0800 Subject: [PATCH] fix --- handler/analyzer/analyze_memory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handler/analyzer/analyze_memory.py b/handler/analyzer/analyze_memory.py index c4968468..8f091687 100644 --- a/handler/analyzer/analyze_memory.py +++ b/handler/analyzer/analyze_memory.py @@ -601,7 +601,7 @@ def __parse_log_lines(self, file_full_path, memory_dict): time_str = self.__get_time_from_ob_log_line(line) memory_print_time = time_str.split('.')[0] memory_dict[memory_print_time] = dict() - elif self.version > '4.0' and self.version < '4.3' : + elif self.version > '4.0' and self.version < '4.3': if 'runTimerTask' in line and 'MemDumpTimer' in line: time_str = self.__get_time_from_ob_log_line(line) memory_print_time = time_str.split('.')[0] @@ -618,7 +618,7 @@ def __parse_log_lines(self, file_full_path, memory_dict): memory_print_line_list.remove(memory_print_begin_line) else: break - elif self.version >= '4.0' and self.version < '4.3' : + elif self.version >= '4.0' and self.version < '4.3': if 'print_tenant_usage' in line and 'MemDumpTimer' in line and 'CHUNK_MGR' in line: if memory_print_line_list: memory_print_begin_line = memory_print_line_list[0]