command: Add newlines to OPML export
authorW. Trevor King <wking@tremily.us>
Tue, 14 May 2013 11:57:50 +0000 (07:57 -0400)
committerW. Trevor King <wking@tremily.us>
Tue, 14 May 2013 11:57:50 +0000 (07:57 -0400)
No semantic change, but it makes the exported data easier for humans
to read.

Signed-off-by: W. Trevor King <wking@tremily.us>
rss2email/command.py

index 36dfca930fb6feeb09de900e0be353ccbe2dbd08..54c080836a5df07365e1829699748af741bae63a 100644 (file)
@@ -164,7 +164,7 @@ def opmlexport(feeds, args):
             continue
         name = _saxutils.escape(feed.name)
         url = _saxutils.escape(feed.url)
-        f.write('<outline type="rss" text="{}" xmlUrl="{}"/>'.format(
+        f.write('<outline type="rss" text="{}" xmlUrl="{}"/>\n'.format(
                 name, url))
     f.write(
         '</body>\n'