mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-24 14:11:26 +00:00
Only replace rhel when it's a container name
This commit is contained in:
parent
ca132958b0
commit
dc804bc06c
@ -188,7 +188,6 @@ async def clone_advisory(
|
||||
)
|
||||
synopsis = synopsis.replace("RHEL", product.name)
|
||||
synopsis = RHEL_CONTAINER_RE.sub("", synopsis)
|
||||
synopsis = synopsis.replace("rhel", product.name)
|
||||
synopsis = synopsis.replace("Red Hat", product.vendor)
|
||||
synopsis = synopsis.replace(advisory.name, name)
|
||||
description = advisory.description.replace(
|
||||
|
Loading…
Reference in New Issue
Block a user