Package: python-docutils Version: 0.5-2 Severity: normal Consider the following transcript. It demonstrates that --strict is discarding the exit status and always succeeding -- which is the *opposite* of what I expected from its description.
I want an option that will make rst2html fail on the slightest hint of a syntax error -- that is, for warnings become failures. $ cat tmp.txt .. include:: /nonexistent .. include:: /does-not-exist $ rst2html tmp.txt >/dev/null; echo $? tmp.txt:: (SEVERE/4) Problems with "include" directive path: IOError: [Errno 2] No such file or directory: u'/nonexistent'. Exiting due to level-4 (SEVERE) system message. 1 $ rst2html --strict tmp.txt >/dev/null; echo $? tmp.txt:: (SEVERE/4) Problems with "include" directive path: IOError: [Errno 2] No such file or directory: u'/nonexistent'. tmp.txt:: (SEVERE/4) Problems with "include" directive path: IOError: [Errno 2] No such file or directory: u'/does-not-exist'. 0 -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-docutils depends on: ii python 2.5.2-3 An interactive high-level object-o ii python-central 0.6.8 register and build utility for Pyt ii python-roman 0.5-2 A module for generating/analyzing python-docutils recommends no packages. Versions of packages python-docutils suggests: pn texlive-lang-french <none> (no description available) pn texlive-latex-base <none> (no description available) pn texlive-latex-recommended <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]