[Python-modules-team] Bug#654690: /usr/bin/rst2html: don't overwrite (non .html files) by default

Jakub Wilk jwilk at debian.org
Thu Jan 5 21:00:45 UTC 2012


* Karl Goetz <karl at kgoetz.id.au>, 2012-01-05, 20:54:
>Please require an option before rst2html will overwrite an existing 
>file. I just ran 'rst2html *ipv6*.rst' without realising i had two 
>files containing ipv6 in the name. The second file was turned into 
>html, and its rst contents lost.

Overwriting the output file is the behaviour some people (including me) 
rely on. You said "(non .html files)" in the subject, but how would 
docutils decide if the output file is a ".html file" or not?

-- 
Jakub Wilk





More information about the Python-modules-team mailing list