changeset 15314:1ae824142c01 stable

runrst: improve error message when Docutils is missing Peter Toft told me he had installed a 'python-doc' package instead of the correct 'python-docutils' and he suggested that we add the URL to Docutils in our error message.
author Martin Geisler <mg@aragost.com>
date Thu, 20 Oct 2011 17:47:33 +0200
parents 3eb1a90ea409
children ca51a5dd5d0b
files doc/runrst
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/runrst	Tue Oct 18 17:28:26 2011 -0500
+++ b/doc/runrst	Thu Oct 20 17:47:33 2011 +0200
@@ -20,6 +20,8 @@
 except ImportError:
     sys.stderr.write("abort: couldn't generate documentation: docutils "
                      "module is missing\n")
+    sys.stderr.write("please install python-docutils or see "
+                     "http://docutils.sourceforge.net/\n")
     sys.exit(-1)
 
 def role_hg(name, rawtext, text, lineno, inliner,