diff options
author | Éric Araujo <aeric@mtlpy.org> | 2012-12-09 03:41:11 (GMT) |
---|---|---|
committer | Éric Araujo <aeric@mtlpy.org> | 2012-12-09 03:41:11 (GMT) |
commit | 8b503c0a4e82ba5aadd60215bf493529ce6e1821 (patch) | |
tree | 16d939807ebff8158ee8c25c4ebd5ed0dc2cdcd7 /Lib/distutils/command | |
parent | 9bc9ab5f853b0ac39b399dc22517a7aa96ffc8d7 (diff) | |
download | cpython-8b503c0a4e82ba5aadd60215bf493529ce6e1821.zip cpython-8b503c0a4e82ba5aadd60215bf493529ce6e1821.tar.gz cpython-8b503c0a4e82ba5aadd60215bf493529ce6e1821.tar.bz2 |
Fix setup.py register failure with invalid rst in description (#13614).
Original patch by Julien Courteau and Pierre Paul Lefebvre.
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r-- | Lib/distutils/command/check.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/command/check.py b/Lib/distutils/command/check.py index b67c795..22b9349 100644 --- a/Lib/distutils/command/check.py +++ b/Lib/distutils/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: |