Properly allow moving of WoA patches to next CF
authorMagnus Hagander <[email protected]>
Mon, 4 Oct 2021 12:55:14 +0000 (14:55 +0200)
committerMagnus Hagander <[email protected]>
Mon, 4 Oct 2021 12:55:14 +0000 (14:55 +0200)
The previous commit removed the refusal, but missed adding the allwing..

pgcommitfest/commitfest/views.py

index c55096a2cf5607c7d6970a8b985ea8ee39de2504..e348692d97111e988db00f828c7629fb6ab781e1 100644 (file)
@@ -549,6 +549,7 @@ def close(request, cfid, patchid, status):
             messages.error(request, "A patch in status {0} cannot be moved to next commitfest.".format(poc.statusstring))
             return HttpResponseRedirect('/%s/%s/' % (poc.commitfest.id, poc.patch.id))
         elif poc.status in (PatchOnCommitFest.STATUS_REVIEW,
+                            PatchOnCommitFest.STATUS_AUTHOR,
                             PatchOnCommitFest.STATUS_COMMITTER):
             # This one can be moved
             pass