From eaf8d459ec7d09cca88cf774a892eccda11f4a6e Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Thu, 10 Aug 2023 14:58:32 -0300 Subject: [PATCH] fix: Only match draft docs to rfc index draft name --- ietf/sync/rfceditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/sync/rfceditor.py b/ietf/sync/rfceditor.py index 8e5f782bc..e82d645c4 100644 --- a/ietf/sync/rfceditor.py +++ b/ietf/sync/rfceditor.py @@ -420,7 +420,7 @@ def update_docs_from_rfc_index( if draft_name: try: - draft = Document.objects.get(name=draft_name) + draft = Document.objects.get(name=draft_name, type_id="draft") except Document.DoesNotExist: pass else: