[issue11831] "python -w" causes "no Python documentation found" error when the path is not current directory

2011-04-11 Thread Susam Pal
Susam Pal added the comment: Attached a one line fix that fixes this issue. susam@nifty:~/pydoc-test$ pydoc -w ../pydoc-subject/ wrote calc.html wrote calc.formulae.html wrote config.html wrote main.html susam@nifty:~/pydoc-test$ ls calc.formulae.html calc.html config.html main.html Diff

[issue11831] "python -w" causes "no Python documentation found" error when the path is not current directory

2011-04-11 Thread Susam Pal
New submission from Susam Pal : Steps to reproduce: susam@nifty:~/pydoc-test$ tree ../pydoc-subject/ ../pydoc-subject/ |-- calc | |-- formulae.py | `-- __init__.py |-- config.py |-- default.conf |-- main.py `-- spal.conf 1 directory, 6 files susam@nifty:~/pydoc-test$ pydoc -w ../pydoc