[Python-checkins] r62245 - doctools/trunk/sphinx/directives.py
georg.brandl
python-checkins at python.org
Wed Apr 9 19:50:15 CEST 2008
Author: georg.brandl
Date: Wed Apr 9 19:50:14 2008
New Revision: 62245
Modified:
doctools/trunk/sphinx/directives.py
Log:
Better error message for unknown documents in toctree.
Modified: doctools/trunk/sphinx/directives.py
==============================================================================
--- doctools/trunk/sphinx/directives.py (original)
+++ doctools/trunk/sphinx/directives.py Wed Apr 9 19:50:14 2008
@@ -646,7 +646,7 @@
docname = posixpath.normpath(posixpath.join(dirname, docname))
if docname not in env.found_docs:
ret.append(state.document.reporter.warning(
- 'toctree references unknown document %s' % docname, line=lineno))
+ 'toctree references unknown document %r' % docname, line=lineno))
else:
includefiles.append(docname)
subnode['includefiles'] = includefiles
More information about the Python-checkins
mailing list