From 319f690c9dfd661a2309b9e4d777e659b483a50c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 28 Aug 2020 12:03:09 -0400 Subject: [PATCH] Fix issue with submitting excessive build manifests This is a dict, and cannot be sub-sliced in this manner. --- hubsrht/builds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hubsrht/builds.py b/hubsrht/builds.py index aa6d997..e5cce4e 100644 --- a/hubsrht/builds.py +++ b/hubsrht/builds.py @@ -38,7 +38,7 @@ def submit_patchset(ml, payload): if not manifests: return None if len(manifests) > 4: - manifests = manifests[:4] + manifests = { key: manifests[key] for key in list(manifests.keys())[:4] } ids = []