summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Maas <opensource@till.name>2010-03-06 21:23:18 +0100
committerTill Maas <opensource@till.name>2010-03-06 21:23:18 +0100
commite3a25bb6a53324989b16921369682cafe844749d (patch)
tree5445fefe4f09e50012664b9ee249ea5d8ab839ea
parentc001b400d45f4dd733f52ffb8b35e1e81f5ef3cb (diff)
downloadfedora-easy-karma-e3a25bb6a53324989b16921369682cafe844749d.tar.gz
fedora-easy-karma-e3a25bb6a53324989b16921369682cafe844749d.tar.xz
fedora-easy-karma-e3a25bb6a53324989b16921369682cafe844749d.zip
sort builds before asking for feedback
-rwxr-xr-xfedora-easy-karma.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/fedora-easy-karma.py b/fedora-easy-karma.py
index 56a209d..0c70b92 100755
--- a/fedora-easy-karma.py
+++ b/fedora-easy-karma.py
@@ -161,7 +161,9 @@ class FedoraEasyKarma(object):
self.debug("starting feedback loop")
# multiple build can be grouped together in one update, only ask once per update
processed_updates = []
- for build in testing_builds:
+ builds = testing_builds.keys()
+ builds.sort()
+ for build in builds:
update = testing_builds[build]
if update not in processed_updates and build in installed_testing_builds:
affected_builds = [b["nvr"] for b in update["builds"]]