From: W. Trevor King Date: Tue, 14 May 2013 11:57:50 +0000 (-0400) Subject: command: Add newlines to OPML export X-Git-Tag: v3.5~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0b36f5900cfa0c837c80caf242a7bdfe858c159;p=rss2email.git command: Add newlines to OPML export No semantic change, but it makes the exported data easier for humans to read. Signed-off-by: W. Trevor King --- diff --git a/rss2email/command.py b/rss2email/command.py index 36dfca9..54c0808 100644 --- a/rss2email/command.py +++ b/rss2email/command.py @@ -164,7 +164,7 @@ def opmlexport(feeds, args): continue name = _saxutils.escape(feed.name) url = _saxutils.escape(feed.url) - f.write(''.format( + f.write('\n'.format( name, url)) f.write( '\n'