Skip to content

Commit a18410c

Browse files
committed
Merged in [8438] from rjsparks@nostrum.com:\n Better evaluation of whether a document type is diffable. Fixes bug ietf-tools#1504.
- Legacy-Id: 8484 Note: SVN reference [8438] has been migrated to Git commit 71195b0
2 parents 55cef62 + 71195b0 commit a18410c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/views_doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def document_history(request, name):
548548
diff_revisions = []
549549

550550
diffable = [ name.startswith(prefix) for prefix in ["rfc", "draft", "charter", "conflict-review", "status-change", ]]
551-
if diffable:
551+
if any(diffable):
552552
diff_documents = [ doc ]
553553
diff_documents.extend(Document.objects.filter(docalias__relateddocument__source=doc, docalias__relateddocument__relationship="replaces"))
554554

0 commit comments

Comments
 (0)