This commit is contained in:
@@ -72,7 +72,7 @@ def split(store: EpicStore, issue: EpicIssue, by_person: bool, rule: str, langua
|
||||
if isinstance(read, Failure):
|
||||
return read
|
||||
have = {pick.name for task in read if task.parent == issue.key for label in task.labels if isinstance(pick := of_label(label), Repo)}
|
||||
repos = tuple(dict.fromkeys([*have, *(part.repo for part in predicted.parts)]))
|
||||
repos = tuple(dict.fromkeys([*sorted(have), *(part.repo for part in predicted.parts)]))
|
||||
if len(repos) < 2:
|
||||
return Split((), ())
|
||||
if by_person and not predicted.comment:
|
||||
|
||||
Reference in New Issue
Block a user