Hello list, I need to admit, that I failed to add a required import for SystemMessage class in setup_command.py. The attached patch fixes this. Sorry for the inconvenience.
--
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
Index: sphinx/setup_command.py
===================================================================
--- sphinx/setup_command.py (Revision 65858)
+++ sphinx/setup_command.py (Arbeitskopie)
@@ -81,6 +81,8 @@
else:
app.builder.build_update()
except Exception, err:
+ from docutils.utils import SystemMessage
+
if isinstance(err, SystemMessage):
sys.stderr, darkred('reST markup error:')
print >>sys.stderr, err.args[0].encode('ascii', 'backslashreplace')
signature.asc
Description: This is a digitally signed message part.
