diff options
-rwxr-xr-x | fedora-easy-karma.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fedora-easy-karma.py b/fedora-easy-karma.py index 3e2fe11..cc4c6a5 100755 --- a/fedora-easy-karma.py +++ b/fedora-easy-karma.py @@ -150,6 +150,9 @@ class FedoraEasyKarma(object): self.debug("starting bodhi query") # probably raises some exceptions testing_updates = bc.query(release=release, status="testing", limit=1000)["updates"] + # can't query for requestless as of python-fedora 0.3.18 + # (request=None results in no filtering by request) + testing_updates = [x for x in testing_updates if not x["request"]] if self.options.bodhi_update_cache: try: os.makedirs(self.options.bodhi_cachedir) @@ -178,9 +181,6 @@ class FedoraEasyKarma(object): for build in builds: update = testing_builds[build] if update not in processed_updates and build in installed_testing_builds: - # update is requested to be moved to stable - if update["request"]: - continue 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])) |