euscanwww: minor fixes to feeds.py

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino 2013-03-09 12:35:39 +01:00
parent 4dfcd92aa5
commit 23fb315a5f

View File

@ -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):