diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2010-04-03 13:43:54 +0300 |
---|---|---|
committer | Till Maas <opensource@till.name> | 2010-04-04 00:46:43 +0200 |
commit | 80439d6ae1c4cf32ea4434a73f70c3ff5bf7772a (patch) | |
tree | 8c23aeccca71437722dfb6e462c38ba6a5f3594f /fedora-easy-karma.py | |
parent | 697f458e37fbe2b4e111dbe0d9f4624b17aef70d (diff) | |
download | fedora-easy-karma-80439d6ae1c4cf32ea4434a73f70c3ff5bf7772a.tar.gz fedora-easy-karma-80439d6ae1c4cf32ea4434a73f70c3ff5bf7772a.tar.xz fedora-easy-karma-80439d6ae1c4cf32ea4434a73f70c3ff5bf7772a.zip |
Do not mark multi-build updates processed on first sight.
Fixes giving karma for e.g.
https://admin.fedoraproject.org/updates/F13/FEDORA-2010-5813
when only geronimo-jta is installed and geronimo-jms not.
Diffstat (limited to 'fedora-easy-karma.py')
-rwxr-xr-x | fedora-easy-karma.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fedora-easy-karma.py b/fedora-easy-karma.py index eb6b20e..aabc90f 100755 --- a/fedora-easy-karma.py +++ b/fedora-easy-karma.py @@ -181,6 +181,7 @@ class FedoraEasyKarma(object): for build in builds: update = testing_builds[build] if update not in processed_updates and build in installed_testing_builds: + processed_updates.append(update) affected_builds = [b["nvr"] for b in update["builds"]] installed_pkgs = list(itertools.chain(*[installed_testing_builds[b] for b in affected_builds if b in installed_testing_builds])) @@ -215,8 +216,6 @@ class FedoraEasyKarma(object): else: print "\n".join(installed_rpms) - processed_updates.append(update) - def already_commented(self, update, user): for comment in update["comments"]: |