diff options
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): |