chore: repair merge damage
This commit is contained in:
parent
cf3a270cd2
commit
59c0a1f7f9
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue