Fixed regular expression for id-ing TL other event descriptions

This commit is contained in:
Kelly Kelly 2021-01-12 11:11:59 -05:00
parent 267121aa40
commit dbf275a792

View File

@ -638,7 +638,7 @@ def normalize_db_entry(line, files_table, vs_parts_table, vs_info_table, fs_info
return line
def cleanupEventDescription(description):
test = re.search("\D+:\d+", description)
test = re.search("^\D+:\d+$", description)
if test is not None:
return re.sub(":\d+", ":<artifact_id>", description)
else: