Only set wg-doc on WG documents

- Legacy-Id: 3980
This commit is contained in:
Ole Laursen 2012-02-26 21:32:24 +00:00
parent cb1b56d912
commit 0144bcd05b

View file

@ -132,7 +132,7 @@ def perform_postREDESIGN(request, submission):
draft.save()
draft.set_state(State.objects.get(type="draft", slug="active"))
if draft.stream_id == "ietf" and draft.group.type_id != "individ":
if draft.stream_id == "ietf" and draft.group.type_id == "wg":
# automatically set state "WG Document"
draft.set_state(State.objects.get(type="draft-stream-%s" % draft.stream_id, slug="wg-doc"))