From 0caaeaa802140fdeb80e6f68f41c2cc6f0fe058b Mon Sep 17 00:00:00 2001 From: apriestman Date: Tue, 14 Jul 2020 14:55:28 -0400 Subject: [PATCH] Also replace regripper string in parent path --- test/script/tskdbdiff.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/script/tskdbdiff.py b/test/script/tskdbdiff.py index c1559b00f5..f152cd923a 100644 --- a/test/script/tskdbdiff.py +++ b/test/script/tskdbdiff.py @@ -572,6 +572,7 @@ def normalize_db_entry(line, files_table, vs_parts_table, vs_info_table, fs_info path = re.sub('Unalloc_[0-9]+_', 'Unalloc_', path) path = re.sub('regripper\-[0-9]+\-full', 'regripper-full', path) parent_path = re.sub('Unalloc_[0-9]+_', 'Unalloc_', parent_path) + parent_path = re.sub('regripper\-[0-9]+\-full', 'regripper-full', parent_path) return newLine + path + ', ' + parent_path + ', ' + ', '.join(fields_list[2:]) + ');' else: return line