From e898e43bc809642d8977497858c183f3fc622df3 Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Thu, 10 Aug 2023 16:09:53 -0300 Subject: [PATCH] fix: Only consider rfcs for updates/obsoletes targets --- 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 5f6865c98..e7e500696 100644 --- a/ietf/sync/rfceditor.py +++ b/ietf/sync/rfceditor.py @@ -561,7 +561,7 @@ def update_docs_from_rfc_index( # # sensibly; otherwise we'll have to ignore them # l = DocAlias.objects.filter(name__startswith="rfc", docs__docalias__name=x.lower()) # else: - l = Document.objects.filter(name=x.lower()) + l = Document.objects.filter(name=x.lower(), type_id="rfc") for a in l: if a not in res: