Commit 28ca34f9 authored by Robin Mueller's avatar Robin Mueller
Browse files

removed some old stuff

parent 988c78f1
......@@ -73,9 +73,6 @@ class ReturnValueParser(FileParser):
self.interfaces = interfaces
self.return_value_dict = dict()
self.count = 0
self.moving_window_size = 7
# Moving window of 5 lines will be used
self.moving_window = [""] * self.moving_window_size
# Stores last three lines
self.last_lines = ["", "", ""]
self.current_interface_id_entries = {
......@@ -91,7 +88,7 @@ class ReturnValueParser(FileParser):
def _handle_file_parsing(self, file_name: str, *args, **kwargs):
"""
Former way to parse returnvalues. Not recommended anymore
Former way to parse returnvalues. Not recommended anymore.
:param file_name:
:param args:
:param kwargs:
......@@ -110,7 +107,7 @@ class ReturnValueParser(FileParser):
moving_window_size: int, moving_window: list, *args,
**kwargs):
if "RingBufferAnalyzer" in file_name:
print("Hello!")
print(current_line)
# print(file_name)
# Generic regex to match full returnvalue expression up until semicolon
# returnvalue_match = re.search(
......@@ -182,7 +179,8 @@ class ReturnValueParser(FileParser):
+ entry[1][3] + file_separator + entry[1][4] + '\n')
file.close()
def build_checked_string(self, first_part, second_part, max_string_len: int, print_truncated_entries: bool):
def build_checked_string(self, first_part, second_part, max_string_len: int,
print_truncated_entries: bool):
""" Build a checked string """
my_str = first_part + '_' + self.convert(second_part)
if len(my_str) > max_string_len:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment