From 65073ba7614ba539aff961e59c9eddbbb8d095f9 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Mon, 4 Oct 2021 12:00:28 +0200 Subject: Allow moving of Waiting On Author patches to next CF Discussion: https://postgr.es/m/20211001173131.GA13090@ahch-to --- pgcommitfest/commitfest/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pgcommitfest/commitfest/views.py') diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py index 7c837f0..c55096a 100644 --- a/pgcommitfest/commitfest/views.py +++ b/pgcommitfest/commitfest/views.py @@ -541,8 +541,7 @@ def close(request, cfid, patchid, status): poc.status = PatchOnCommitFest.STATUS_RETURNED elif status == 'next': # Only some patch statuses can actually be moved. - if poc.status in (PatchOnCommitFest.STATUS_AUTHOR, - PatchOnCommitFest.STATUS_COMMITTED, + if poc.status in (PatchOnCommitFest.STATUS_COMMITTED, PatchOnCommitFest.STATUS_NEXT, PatchOnCommitFest.STATUS_RETURNED, PatchOnCommitFest.STATUS_REJECTED): -- cgit v1.2.3