From d5a9b31b3cb4da847bdc310077b8911db454c64f Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Wed, 28 Mar 2012 09:10:24 +0200 Subject: [PATCH] euscanwww/feeds: remove duplicate descriptions Signed-off-by: Corentin Chary --- euscanwww/euscan/feeds.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/euscanwww/euscan/feeds.py b/euscanwww/euscan/feeds.py index 00e0168..5c8b664 100644 --- a/euscanwww/euscan/feeds.py +++ b/euscanwww/euscan/feeds.py @@ -66,9 +66,6 @@ class PackageFeed(BaseFeed): def title(self, package): return "%s" % package - def description(self, package): - return "Last changes for %s" % package - def link(self, package): return reverse('euscan.views.package', args=[package.category, package.name]) @@ -96,9 +93,6 @@ class MaintainerFeed(BaseFeed): def link(self, maintainer): return reverse('euscan.views.maintainer', kwargs={'maintainer_id' : maintainer.id}) - def description(self, maintainer): - return str(maintainer) - def items(self, maintainer): q = VersionLog.objects.filter(package__maintainers__id=maintainer.id) return q.order_by('-id')[:50] @@ -118,9 +112,6 @@ class HerdFeed(BaseFeed): def link(self, herd): return reverse('euscan.views.herd', kwargs={'herd' : herd.herd}) - def description(self, herd): - return str(herd) - def items(self, herd): q = VersionLog.objects.filter(package__herds__id=herd.id) return q.order_by('-id')[:100]