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:
parent
8583a0a098
commit
f2b106cf8c
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue