Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 8532:bedf11bc0dd5
chore: replaced writer_name with writer in call to ReStructuredText
Was generating:
roundup/cgi/templating.py:1889: PendingDeprecationWarning: Argument
"writer_name" will be removed in Docutils 2.0. Specify writer name in
the "writer" argument. return u2s(ReStructuredText(
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 18 Mar 2026 10:55:17 -0400 |
| parents | fed0f839c260 |
| children | 6783a7f2b5e1 |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Tue Mar 10 22:52:54 2026 -0400 +++ b/roundup/cgi/templating.py Wed Mar 18 10:55:17 2026 -0400 @@ -1887,7 +1887,7 @@ raise return u2s(ReStructuredText( - s, writer_name="html", + s, writer="html", settings_overrides=self.rst_defaults)["html_body"]) def markdown(self, hyperlink=1):
