fix: Only consider rfcs for updates/obsoletes targets

This commit is contained in:
Jennifer Richards 2023-08-10 16:09:53 -03:00
parent 112ac906dc
commit e898e43bc8
No known key found for this signature in database
GPG key ID: 9B2BF5C5ADDA6A6E

View file

@ -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: