diff options
author | 2013-03-09 12:35:39 +0100 | |
---|---|---|
committer | 2013-03-09 12:35:39 +0100 | |
commit | 23fb315a5fa7b36421ec54ed634d04862f380500 (patch) | |
tree | 0176b34aa7b0fc5a3c3b85b2a19a847ff31afc26 | |
parent | euscanwww: Fixing and using vtype in stabilization_candidates, added db_index (diff) | |
download | euscan-23fb315a5fa7b36421ec54ed634d04862f380500.tar.gz euscan-23fb315a5fa7b36421ec54ed634d04862f380500.tar.bz2 euscan-23fb315a5fa7b36421ec54ed634d04862f380500.zip |
euscanwww: minor fixes to feeds.py
Signed-off-by: volpino <fox91@anche.no>
-rw-r--r-- | euscanwww/djeuscan/feeds.py | 6 |
1 files 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): |