chore: repair merge damage

This commit is contained in:
Robert Sparks 2023-07-19 18:09:23 -05:00
parent cf3a270cd2
commit 59c0a1f7f9
No known key found for this signature in database
GPG key ID: 6E2A6A5775F91318
2 changed files with 2 additions and 3 deletions

View file

@ -166,9 +166,9 @@ def fill_in_document_table_attributes(docs, have_telechat_date=False):
for rel in xed_by:
d = doc_dict[rel.target.id]
if rel.relationship_id == "obs":
d.obsoleted_by_list.append(s)
d.obsoleted_by_list.append(rel.source)
elif rel.relationship_id == "updates":
d.updated_by_list.append(s)
d.updated_by_list.append(rel.source)
def augment_docs_with_related_docs_info(docs):
"""Augment all documents with related documents information.

View file

@ -29,7 +29,6 @@ from ietf.doc.models import Document
from ietf.group.models import Group
from ietf.ietfauth.utils import has_role
from ietf.doc.fields import SearchableDocumentsField
from ietf.doc.models import DocAlias
from ietf.ipr.mail import utc_from_string
from ietf.meeting.models import Meeting
from ietf.message.models import Message