Skip to content

Commit 476ad78

Browse files
committed
Fixed a bug in the rfceditor index sync introduced by the event saving refactoring.
- Legacy-Id: 11915
1 parent a939936 commit 476ad78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/sync/rfceditor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def parse_relation_list(l):
454454

455455
for x in parse_relation_list(obsoletes):
456456
if not RelatedDocument.objects.filter(source=doc, target=x, relationship=relationship_obsoletes):
457-
r = RelatedDocument.objects.create(RelatedDocument(source=doc, target=x, relationship=relationship_obsoletes))
457+
r = RelatedDocument.objects.create(source=doc, target=x, relationship=relationship_obsoletes)
458458
changes.append("created %s relation between %s and %s" % (r.relationship.name.lower(), prettify_std_name(r.source.name), prettify_std_name(r.target.name)))
459459

460460
for x in parse_relation_list(updates):

0 commit comments

Comments
 (0)