Skip to content

Commit

Permalink
Fixed #6303 -- Handle missing language specification in feed generati…
Browse files Browse the repository at this point in the history
…on. Thanks, david.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Feb 3, 2008
1 parent 787acef commit 8926a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/utils/feedgenerator.py
Expand Up @@ -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),
Expand Down

0 comments on commit 8926a10

Please sign in to comment.