From 23fb315a5fa7b36421ec54ed634d04862f380500 Mon Sep 17 00:00:00 2001 From: volpino Date: Sat, 9 Mar 2013 12:35:39 +0100 Subject: euscanwww: minor fixes to feeds.py Signed-off-by: volpino --- euscanwww/djeuscan/feeds.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/euscanwww/djeuscan/feeds.py b/euscanwww/djeuscan/feeds.py index da72927..0790ccc 100644 --- a/euscanwww/djeuscan/feeds.py +++ b/euscanwww/djeuscan/feeds.py @@ -32,12 +32,12 @@ class StabilizationCandidatesFeed(Feed): if version.package.maintainers.all(): maintainers = "Maintainers: {}\n".format( - ", ".join(version.package.maintainers.all()) + ", ".join(str(m) for m in version.package.maintainers.all()) ) if version.package.herds.all(): herds = "Herds: {}\n".format( - ", ".join(version.package.herds.all()) + ", ".join(str(h) for h in version.package.herds.all()) ) bugs_link = "https://bugs.gentoo.org/buglist.cgi?quicksearch={}" @@ -95,7 +95,7 @@ class StabilizationCandidatesFeed(Feed): def items(self): versions = Version.objects.exclude(stabilization_candidate=None) - return versions.order_by("stabilization_candidate") + return versions.order_by("-stabilization_candidate") class BaseFeed(Feed): -- cgit v1.2.3-65-gdbad