We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb10f54 commit 8a725c6Copy full SHA for 8a725c6
1 file changed
ietf/secr/telechat/views.py
@@ -58,11 +58,12 @@ def get_doc_writeup(doc):
58
writeup = 'This document has no writeup'
59
if doc.type_id == 'draft':
60
latest = doc.latest_event(WriteupDocEvent, type='changed_ballot_writeup_text')
61
- if latest and doc.has_rfc_editor_note():
62
- rfced_note = doc.latest_event(WriteupDocEvent, type="changed_rfc_editor_note_text")
63
- writeup = latest.text + "\n\n" + rfced_note.text
64
- else:
+ if latest:
65
writeup = latest.text
+ if doc.has_rfc_editor_note():
+ rfced_note = doc.latest_event(WriteupDocEvent, type="changed_rfc_editor_note_text")
+ writeup = writeup + "\n\n" + rfced_note.text
66
+
67
if doc.type_id == 'charter':
68
69
if latest:
0 commit comments