[Python-checkins] r66070 - doctools/trunk/sphinx/setup_command.py
georg.brandl
python-checkins at python.org
Sat Aug 30 15:29:17 CEST 2008
Author: georg.brandl
Date: Sat Aug 30 15:29:17 2008
New Revision: 66070
Log:
Fix missing import.
Modified:
doctools/trunk/sphinx/setup_command.py
Modified: doctools/trunk/sphinx/setup_command.py
==============================================================================
--- doctools/trunk/sphinx/setup_command.py (original)
+++ doctools/trunk/sphinx/setup_command.py Sat Aug 30 15:29:17 2008
@@ -81,6 +81,7 @@
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')
More information about the Python-checkins
mailing list