From: Magnus Hagander Date: Wed, 11 Feb 2015 19:17:28 +0000 (+0100) Subject: Hopefully fix RSS feeds for items with non-ascii X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=685cc4147305079abc65953c99e0c2410dfb1270;p=pgcommitfest2.git Hopefully fix RSS feeds for items with non-ascii --- 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: