Fix issue with submitting excessive build manifests

This is a dict, and cannot be sub-sliced in this manner.
This commit is contained in:
Drew DeVault 2020-08-28 12:03:09 -04:00
parent 55b4da42af
commit 319f690c9d
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []