From 36fdc2dd5f8ff6c799b483990c598fb11cc348a4 Mon Sep 17 00:00:00 2001 From: Russ Housley Date: Sun, 22 Mar 2020 16:26:43 +0000 Subject: [PATCH] Improve performance of many document list pages - Legacy-Id: 17505 --- ietf/doc/expire.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ietf/doc/expire.py b/ietf/doc/expire.py index 985a2bd0f..b21b25e50 100644 --- a/ietf/doc/expire.py +++ b/ietf/doc/expire.py @@ -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]