[Python-checkins] r65498 - doctools/branches/0.4.x/sphinx/__init__.py

georg.brandl python-checkins at python.org
Mon Aug 4 19:07:33 CEST 2008


Author: georg.brandl
Date: Mon Aug  4 19:07:33 2008
New Revision: 65498

Log:
Absolutize doctreedir when parsing from commandline.


Modified:
   doctools/branches/0.4.x/sphinx/__init__.py

Modified: doctools/branches/0.4.x/sphinx/__init__.py
==============================================================================
--- doctools/branches/0.4.x/sphinx/__init__.py	(original)
+++ doctools/branches/0.4.x/sphinx/__init__.py	Mon Aug  4 19:07:33 2008
@@ -98,7 +98,7 @@
                 return 1
             all_files = True
         elif opt == '-d':
-            doctreedir = val
+            doctreedir = path.abspath(val)
         elif opt == '-c':
             confdir = path.abspath(val)
             if not path.isfile(path.join(confdir, 'conf.py')):


More information about the Python-checkins mailing list