Remove log.assertion that was checking that we covered the edges when we changed documents to always have an iesg state. Commit ready for merge.

- Legacy-Id: 17495
This commit is contained in:
Robert Sparks 2020-03-21 22:07:15 +00:00
parent 8583a0a098
commit f2b106cf8c

View file

@ -28,7 +28,6 @@ def expirable_draft(draft):
two functions need to be kept in sync."""
if draft.type_id != 'draft':
return False
log.assertion('draft.get_state_slug("draft-iesg")')
return bool(expirable_drafts(Document.objects.filter(pk=draft.pk)))
nonexpirable_states = [] # type: List[State]