owner:olau@iola.dk resolution_fixed type_defect | by henrik@levkowetz.com
It seems that the multiset-ballot draft names are not always separated by
", ", as the code seems to expect, but instead in some cases by just ",".
The patch below seems to work in order to handle this better.
An example of a multi-ballot document is /doc/rfc4515/.
Index: ietf/idrfc/views_doc.py
===================================================================
--- ietf/idrfc/views_doc.py (revision 3975)
+++ ietf/idrfc/views_doc.py (working copy)
@@ -163,7 +163,7 @@
multiset_ballot_text = "This was part of a ballot set with: "
if e.desc.startswith(multiset_ballot_text):
- names = e.desc[len(multiset_ballot_text):].split(", ")
+ names = [ n.strip() for n in e.desc[len(multiset_ballot_text):].split(",") ]
e.desc = multiset_ballot_text + ", ".join(u'<a href="%s">%s</a>' % (urlreverse("doc_view", kwargs={'name': n }), n) for n in names)
info["dontmolest"] = True
Issue migrated from trac:767 at 2022-03-04 01:58:15 +0000
owner:olau@iola.dkresolution_fixedtype_defect| by henrik@levkowetz.comIt seems that the multiset-ballot draft names are not always separated by
", ", as the code seems to expect, but instead in some cases by just ",".
The patch below seems to work in order to handle this better.
An example of a multi-ballot document is /doc/rfc4515/.
Issue migrated from trac:767 at 2022-03-04 01:58:15 +0000