Skip to content

Commit 51426f1

Browse files
committed
When abandoning a chartering effort, only revert to approved charters if there's a chance one is there.
Fixes bug ietf-tools#868 - Legacy-Id: 4805
1 parent ee2878a commit 51426f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/wgcharter/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def change_state(request, name, option=None):
7373
if "-" not in charter_rev:
7474
charter_rev = charter_rev + "-00"
7575
elif option == "abandon":
76-
if wg.state_id == "proposed":
76+
if wg.state_id in ("proposed","bof","unknown"):
7777
charter_state = State.objects.get(type="charter", slug="notrev")
7878
else:
7979
charter_state = State.objects.get(type="charter", slug="approved")

0 commit comments

Comments
 (0)