Merge pull request #6621 from kellykelly3/7201-update-dump-remove-id

7201.1 - Fixed regular expression for id-ing TL other event descriptions
This commit is contained in:
Richard Cordovano 2021-01-12 12:41:09 -05:00 committed by GitHub
commit 90ef2cc4b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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