SF.net SVN: docutils:[9711 ] trunk/docutils/docutils/w riters/manpage.py

grubert--- via Docutils-checkins <[email protected]>
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 9711
          http://sourceforge.net/p/docutils/code/9711
Author:   grubert
Date:     2024-05-17 07:15:06 +0000 (Fri, 17 May 2024)
Log Message:
-----------
clean up

Modified Paths:
--------------
    trunk/docutils/docutils/writers/manpage.py

Modified: trunk/docutils/docutils/writers/manpage.py
===================================================================
--- trunk/docutils/docutils/writers/manpage.py	2024-05-17 07:13:11 UTC (rev 9710)
+++ trunk/docutils/docutils/writers/manpage.py	2024-05-17 07:15:06 UTC (rev 9711)
@@ -791,7 +791,7 @@
 
     def visit_label(self, node):
         # footnote and citation labels are written in their visit_ functions.
-        if (isinstance(node.parent, (nodes.footnote, nodes.citation))):
+        if isinstance(node.parent, (nodes.footnote, nodes.citation)):
             raise nodes.SkipNode
         self.document.reporter.warning('"unsupported "label"',
                                        base_node=node)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.