projects
/
rss2email.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
708d7b3
)
command: Add newlines to OPML export
author
W. Trevor King
<wking@tremily.us>
Tue, 14 May 2013 11:57:50 +0000
(07:57 -0400)
committer
W. 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
patch
|
blob
|
history
diff --git
a/rss2email/command.py
b/rss2email/command.py
index 36dfca930fb6feeb09de900e0be353ccbe2dbd08..54c080836a5df07365e1829699748af741bae63a 100644
(file)
--- 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('<outline type="rss" text="{}" xmlUrl="{}"/>'.format(
+ f.write('<outline type="rss" text="{}" xmlUrl="{}"/>
\n
'.format(
name, url))
f.write(
'</body>\n'