From e8b3dc2a6a4764d71346032b6a496ff7b193437b Mon Sep 17 00:00:00 2001 From: Steven Elliott Date: Sun, 28 Jan 2024 07:50:14 -0500 Subject: [PATCH] scripts: Fix extra newline for news-to-feed news-to-feed added an extra newline at the end. --- scripts/news-to-feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/news-to-feed b/scripts/news-to-feed index 50ba35fb..62700fdb 100755 --- a/scripts/news-to-feed +++ b/scripts/news-to-feed @@ -189,7 +189,7 @@ def main(): # Write the feed to feed_xml. def output_feed(): with open(feed_xml, "w") as feed_hand: - print(doc.toprettyxml(indent=" "), file=feed_hand) + print(doc.toprettyxml(indent=" "), file=feed_hand, end="") # Parse the command line arguments and store the result in 'args'.