summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--feeds.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/feeds.py b/feeds.py
index 47ef4b1d..32190a7b 100644
--- a/feeds.py
+++ b/feeds.py
@@ -5,6 +5,8 @@ from django.db.models import Q
from main.models import Arch, Repo, Package, News
class PackageFeed(Feed):
+ link = '/packages/'
+
def get_object(self, bits):
# just cut the BS early
if len(bits) > 2:
@@ -34,9 +36,6 @@ class PackageFeed(Feed):
s += ' (%s)' % (obj['arch'].name)
return s
- def link(self, obj):
- return '/packages/'
-
def description(self, obj):
s = 'Recently updated packages in the Arch Linux package repositories'
if 'arch' in obj: