diff --git a/src/sysdiagnose/parsers/brctl.py b/src/sysdiagnose/parsers/brctl.py index f959ff1..8fa623a 100644 --- a/src/sysdiagnose/parsers/brctl.py +++ b/src/sysdiagnose/parsers/brctl.py @@ -328,8 +328,8 @@ def parse_apps_monitor(data): parts = data.split("=======================") # Extract the JSON strings from each part - json_str1 = BrctlParser.parse_apps_monitor2json(parts[1].strip()) - json_str2 = BrctlParser.parse_apps_monitor2json(parts[2].strip()) + json_str1 = BrctlParser.__parse_apps_monitor2json(parts[1].strip()) + json_str2 = BrctlParser.__parse_apps_monitor2json(parts[2].strip()) # Load the JSON strings into Python dictionaries json1 = json.loads(json_str1) @@ -337,7 +337,7 @@ def parse_apps_monitor(data): return json1, json2 - def parse_apps_monitor2json(data): + def __parse_apps_monitor2json(data): # replace = by : json_str = data.replace("=", ":") # remove literal string '\n'