The change from os.path.walk to os.walk in docutils 0.6 broke the --local command-line option, causing it to have no effect.
Steps to reproduce:
* be in a docutils source tree
* PYTHONPATH=.:extras tools/buildhtml.py --local .
* BUGS.txt (etc.) are built
* docs/index.txt (etc.) are not
* Everything is built
The attached patch (applied in Debian) is rather heavy-handed (it just reverts to an older buildhtml.py), but it seems to work.
Log in to post a comment.