updateinfo.xml: fix duplicate description for each update (#33)

Each update only needs the description once.

Fixes: https://github.com/resf/distro-tools/issues/32
This commit is contained in:
Stewart Smith 2024-12-10 16:34:05 -08:00 committed by GitHub
parent 616f51b855
commit 2448e099b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,9 +90,6 @@ async def get_updateinfo(
# Add title
ET.SubElement(update, "title").text = advisory.synopsis
# Add description
ET.SubElement(update, "description").text = advisory.description
# Add time
time_format = "%Y-%m-%d %H:%M:%S"
issued = ET.SubElement(update, "issued")