Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #6303 -- Handle missing language specification in feed generati…

…on. Thanks, david.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8926a10fea3f6877b7593cb72c416748f1811905 1 parent 787acef
Malcolm Tredinnick malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/utils/feedgenerator.py
2  django/utils/feedgenerator.py
View
@@ -53,7 +53,7 @@ def __init__(self, title, link, description, language=None, author_email=None,
'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),
Please sign in to comment.
Something went wrong with that request. Please try again.