Updated comment

This commit is contained in:
U-BASIS\dsmyda 2020-11-11 19:57:47 -05:00
parent 81ec9ea113
commit 75c258d22e

View File

@ -467,8 +467,8 @@ def normalize_db_entry(line, files_table, vs_parts_table, vs_info_table, fs_info
# Ignore TIFF size and hash if extracted from PDFs.
# See JIRA-6951 for more details.
# index: -1 = last element in the list, which is extension
# index: -3 = 3rd from the end, which is the parent path.
# index -1 = last element in the list, which is extension
# index -3 = 3rd from the end, which is the parent path.
if fields_list[-1] == "'tif'" and fields_list[-3].endswith(".pdf/'"):
fields_list[15] = "'SIZE_IGNORED'"
fields_list[23] = "'MD5_IGNORED'"