Fix a minor typo in the new rfc_editor_note code. Commit ready for merge. Will apply as patch to production.

- Legacy-Id: 10806
This commit is contained in:
Robert Sparks 2016-02-08 22:43:25 +00:00
parent 36d30ed9e6
commit a07b318900

View file

@ -59,7 +59,7 @@ def get_doc_writeup(doc):
writeup = 'This document has no writeup'
if doc.type_id == 'draft':
latest = doc.latest_event(WriteupDocEvent, type='changed_ballot_writeup_text')
if latest and doc.has_rfc_editor_note:
if latest and doc.has_rfc_editor_note():
rfced_note = doc.latest_event(WriteupDocEvent, type="changed_rfc_editor_note_text")
writeup = latest.text + "\n\n" + rfced_note.text
else: