aboutsummaryrefslogtreecommitdiffstats
path: root/command/check.py
diff options
context:
space:
mode:
authorÉric Araujo <aeric@mtlpy.org>2012-12-08 22:41:11 -0500
committerÉric Araujo <aeric@mtlpy.org>2012-12-08 22:41:11 -0500
commit1bf87508cedffb239eb377928351b7d130a59e6c (patch)
tree9752c97cbd022f0006133f25f9d1ea48b5cb80fa /command/check.py
parent0bca979e33bd4dca758288e68912c9a763004a62 (diff)
downloadexternal_python_setuptools-1bf87508cedffb239eb377928351b7d130a59e6c.tar.gz
external_python_setuptools-1bf87508cedffb239eb377928351b7d130a59e6c.tar.bz2
external_python_setuptools-1bf87508cedffb239eb377928351b7d130a59e6c.zip
Fix setup.py register failure with invalid rst in description (#13614).
Original patch by Julien Courteau and Pierre Paul Lefebvre.
Diffstat (limited to 'command/check.py')
-rw-r--r--command/check.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/command/check.py b/command/check.py
index b67c7953..22b9349d 100644
--- a/command/check.py
+++ b/command/check.py
@@ -23,6 +23,9 @@ try:
def system_message(self, level, message, *children, **kwargs):
self.messages.append((level, message, children, kwargs))
+ return nodes.system_message(message, level=level,
+ type=self.levels[level],
+ *children, **kwargs)
HAS_DOCUTILS = True
except Exception: