From 2448e099b66a96d1a96810e38c2f29a36571cb68 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Tue, 10 Dec 2024 16:34:05 -0800 Subject: [PATCH] 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 --- apollo/server/routes/api_updateinfo.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/apollo/server/routes/api_updateinfo.py b/apollo/server/routes/api_updateinfo.py index f506fe2..bbc5f9f 100644 --- a/apollo/server/routes/api_updateinfo.py +++ b/apollo/server/routes/api_updateinfo.py @@ -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")