From 685cc4147305079abc65953c99e0c2410dfb1270 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Wed, 11 Feb 2015 20:17:28 +0100 Subject: [PATCH] Hopefully fix RSS feeds for items with non-ascii --- pgcommitfest/commitfest/feeds.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pgcommitfest/commitfest/feeds.py b/pgcommitfest/commitfest/feeds.py index dc37924..025ddef 100644 --- a/pgcommitfest/commitfest/feeds.py +++ b/pgcommitfest/commitfest/feeds.py @@ -20,13 +20,13 @@ class ActivityFeed(Feed): if self.cfid: return item['name'] else: - return '{cfname}: {name}'.format(**item) + return u'{cfname}: {name}'.format(**item) def item_description(self, item): if self.cfid: - return "
Patch: {name}
User: {by}
\n
{what}
".format(**item) + return u"
Patch: {name}
User: {by}
\n
{what}
".format(**item) else: - return "
Commitfest: {cfname}
Patch: {name}
User: {by}
{what}
".format(**item) + return u"
Commitfest: {cfname}
Patch: {name}
User: {by}
{what}
".format(**item) def item_link(self, item): if self.cfid: -- 2.39.5