summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/views.py
diff options
context:
space:
mode:
authorMagnus Hagander2018-12-23 12:07:56 +0000
committerMagnus Hagander2018-12-23 12:07:56 +0000
commit535af6e586adae94bdc8502fb78602877345dad8 (patch)
tree6a793c0b899bce37679edb4edff19d64c4d85e2c /pgcommitfest/commitfest/views.py
parent41ce86f574a20bc378570998f330b9ac72391b13 (diff)
Add "withdrawn" commitfest status
By popular (?) request
Diffstat (limited to 'pgcommitfest/commitfest/views.py')
-rw-r--r--pgcommitfest/commitfest/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py
index 47c3848..5f68895 100644
--- a/pgcommitfest/commitfest/views.py
+++ b/pgcommitfest/commitfest/views.py
@@ -520,6 +520,8 @@ def close(request, cfid, patchid, status):
# need to check if the individual status has changed.
if status == 'reject':
poc.status = PatchOnCommitFest.STATUS_REJECTED
+ elif status == 'withdrawn':
+ poc.status = PatchOnCommitFest.STATUS_WITHDRAWN
elif status == 'feedback':
poc.status = PatchOnCommitFest.STATUS_RETURNED
elif status == 'next':