Replace lower case rhel as well

This commit is contained in:
Mustafa Gezen 2023-02-02 13:16:27 +01:00
parent 437917dc91
commit 6eccd0968c
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -157,12 +157,14 @@ async def clone_advisory(
"Red Hat Enterprise Linux", product.name
)
synopsis = synopsis.replace("RHEL", product.name)
synopsis = synopsis.replace("rhel", product.name)
synopsis = synopsis.replace("Red Hat", product.vendor)
synopsis = synopsis.replace(advisory.name, name)
description = advisory.description.replace(
"Red Hat Enterprise Linux", product.name
)
description = description.replace("RHEL", product.name)
description = description.replace("rhel", product.name)
description = description.replace("Red Hat", product.vendor)
description = description.replace(advisory.name, name)