mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Fix setup.py register failure with invalid rst in description (#13614).
Original patch by Julien Courteau and Pierre Paul Lefebvre.
This commit is contained in:
parent
26ea4a08a3
commit
2320fa08a8
4 changed files with 29 additions and 4 deletions
|
@ -26,6 +26,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 ImportError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue