mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
Fix issue with submitting excessive build manifests
This is a dict, and cannot be sub-sliced in this manner.
This commit is contained in:
parent
55b4da42af
commit
319f690c9d
|
@ -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 = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue