scripts: Fix extra newline for news-to-feed

news-to-feed added an extra newline at the end.
This commit is contained in:
Steven Elliott 2024-01-28 07:50:14 -05:00
parent 33b6e25907
commit e8b3dc2a6a

View file

@ -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'.