diff options
author | Magnus Hagander | 2021-10-04 10:00:28 +0000 |
---|---|---|
committer | Magnus Hagander | 2021-10-04 10:00:28 +0000 |
commit | 65073ba7614ba539aff961e59c9eddbbb8d095f9 (patch) | |
tree | 8b40539e62c279253b88ff8fc80c5e963e9f74c1 /pgcommitfest/commitfest/views.py | |
parent | b9d9db88fffad60798397b006445e505f6b5e447 (diff) |
Allow moving of Waiting On Author patches to next CF
Discussion: https://postgr.es/m/20211001173131.GA13090@ahch-to
Diffstat (limited to 'pgcommitfest/commitfest/views.py')
-rw-r--r-- | pgcommitfest/commitfest/views.py | 3 |
1 files changed, 1 insertions, 2 deletions
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): |