Allow moving of Waiting On Author patches to next CF
authorMagnus Hagander <[email protected]>
Mon, 4 Oct 2021 10:00:28 +0000 (12:00 +0200)
committerMagnus Hagander <[email protected]>
Mon, 4 Oct 2021 10:00:28 +0000 (12:00 +0200)
Discussion: https://postgr.es/m/20211001173131.GA13090@ahch-to

pgcommitfest/commitfest/views.py

index 7c837f0871c5c6bd198e94dcdcbd409fa9487fd7..c55096a2cf5607c7d6970a8b985ea8ee39de2504 100644 (file)
@@ -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):