Merged in [10806] from rjsparks@nostrum.com:

Fix a minor typo in the new rfc_editor_note code.  Will apply as patch to production.
 - Legacy-Id: 10814
Note: SVN reference [10806] has been migrated to Git commit a07b318900
This commit is contained in:
Henrik Levkowetz 2016-02-10 17:36:29 +00:00
commit 4253b95e52

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: