From 8926a10fea3f6877b7593cb72c416748f1811905 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sun, 3 Feb 2008 03:23:10 +0000 Subject: [PATCH] Fixed #6303 -- Handle missing language specification in feed generation. Thanks, david. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7066 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/utils/feedgenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/utils/feedgenerator.py b/django/utils/feedgenerator.py index 3e0826c968..23400bb8e7 100644 --- a/django/utils/feedgenerator.py +++ b/django/utils/feedgenerator.py @@ -53,7 +53,7 @@ class SyndicationFeed(object): 'title': to_unicode(title), 'link': iri_to_uri(link), 'description': to_unicode(description), - 'language': force_unicode(language), + 'language': to_unicode(language), 'author_email': to_unicode(author_email), 'author_name': to_unicode(author_name), 'author_link': iri_to_uri(author_link),