mirror of
https://github.com/resf/distro-tools.git
synced 2024-12-12 06:23:09 +00:00
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:
parent
616f51b855
commit
2448e099b6
@ -90,9 +90,6 @@ async def get_updateinfo(
|
|||||||
# Add title
|
# Add title
|
||||||
ET.SubElement(update, "title").text = advisory.synopsis
|
ET.SubElement(update, "title").text = advisory.synopsis
|
||||||
|
|
||||||
# Add description
|
|
||||||
ET.SubElement(update, "description").text = advisory.description
|
|
||||||
|
|
||||||
# Add time
|
# Add time
|
||||||
time_format = "%Y-%m-%d %H:%M:%S"
|
time_format = "%Y-%m-%d %H:%M:%S"
|
||||||
issued = ET.SubElement(update, "issued")
|
issued = ET.SubElement(update, "issued")
|
||||||
|
Loading…
Reference in New Issue
Block a user