From 0f7b31c39bb2b3e72e99168172e5192118f43eec Mon Sep 17 00:00:00 2001 From: hernani Date: Mon, 28 Jun 2010 10:23:13 +0000 Subject: [PATCH] Fixes a compatibility error with the feed api from django 1.1 and 1.2. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@454 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/feed.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/forum/feed.py b/forum/feed.py index e00f33b..2575e66 100644 --- a/forum/feed.py +++ b/forum/feed.py @@ -1,9 +1,7 @@ try: from django.contrib.syndication.views import Feed, FeedDoesNotExist - old_version = False except: from django.contrib.syndication.feeds import Feed, FeedDoesNotExist - old_version = True from django.utils.translation import ugettext as _ from models import Question @@ -19,9 +17,6 @@ class RssQuestionFeed(Feed): self._question_list = question_list self._url = request.path - if old_version: - super(Feed, self).__init__(request, '') - def title(self): return self._title -- 2.45.2