some bugfixes

This commit is contained in:
Robin Mueller
2022-03-04 10:24:08 +01:00
parent bd76760052
commit 1531b8bda0
4 changed files with 23 additions and 8 deletions

View File

@ -153,6 +153,8 @@ class EventParser(FileParser):
event_full_match.group(3)
)
severity = event_full_match.group(4)
if self.obsw_root_path is not None:
file_name = os.path.relpath(file_name, self.obsw_root_path)
self.mib_table.update({full_id: (name, severity, description, file_name)})
self.count = self.count + 1