Merged in [17495] from rjsparks@nostrum.com:

Remove log.assertion that was checking that we covered the edges when we changed documents to always have an iesg state.
 - Legacy-Id: 17517
Note: SVN reference [17495] has been migrated to Git commit f2b106cf8c
This commit is contained in:
Henrik Levkowetz 2020-03-23 11:16:19 +00:00
commit c6be826113

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]