[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28688] trunk/blender/source/blender/ python/doc/sphinx_doc_gen.py: building docs failed when the output directory didnt alredy exist.
Campbell Barton
ideasman42 at gmail.com
Sun May 9 19:18:57 CEST 2010
Revision: 28688
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28688
Author: campbellbarton
Date: 2010-05-09 19:18:57 +0200 (Sun, 09 May 2010)
Log Message:
-----------
building docs failed when the output directory didnt alredy exist.
Modified Paths:
--------------
trunk/blender/source/blender/python/doc/sphinx_doc_gen.py
Modified: trunk/blender/source/blender/python/doc/sphinx_doc_gen.py
===================================================================
--- trunk/blender/source/blender/python/doc/sphinx_doc_gen.py 2010-05-09 14:43:31 UTC (rev 28687)
+++ trunk/blender/source/blender/python/doc/sphinx_doc_gen.py 2010-05-09 17:18:57 UTC (rev 28688)
@@ -669,6 +669,9 @@
# only for partial updates
path_in_tmp = path_in + "-tmp"
+ if not os.path.exists(path_in):
+ os.mkdir(path_in)
+
for f in os.listdir(path_examples):
if f.endswith(".py"):
EXAMPLE_SET.add(os.path.splitext(f)[0])
More information about the Bf-blender-cvs
mailing list