[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17232] trunk/blender/source: * Build aborts when giving options on command-line when WITH_BF_DOCS=True

Nathan Letwory jesterking at letwory.net
Thu Oct 30 19:56:24 CET 2008


Revision: 17232
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17232
Author:   jesterking
Date:     2008-10-30 19:56:20 +0100 (Thu, 30 Oct 2008)

Log Message:
-----------
* Build aborts when giving options on command-line when WITH_BF_DOCS=True
  - make sure epydoc generation doesn't get a fit over options given on scons command-line -> don't use arguments from command-line.

Modified Paths:
--------------
    trunk/blender/source/blender/python/api2_2x/doc/SConscript
    trunk/blender/source/gameengine/PyDoc/SConscript

Modified: trunk/blender/source/blender/python/api2_2x/doc/SConscript
===================================================================
--- trunk/blender/source/blender/python/api2_2x/doc/SConscript	2008-10-30 16:38:32 UTC (rev 17231)
+++ trunk/blender/source/blender/python/api2_2x/doc/SConscript	2008-10-30 18:56:20 UTC (rev 17232)
@@ -23,6 +23,6 @@
     optvalues["names"] = names
     optparser = OptionParser()
     optparser.set_defaults(**optvalues)
-    (options, args) = optparser.parse_args()
+    (options, args) = optparser.parse_args([])
     cli.write_html(docindex, options)
 

Modified: trunk/blender/source/gameengine/PyDoc/SConscript
===================================================================
--- trunk/blender/source/gameengine/PyDoc/SConscript	2008-10-30 16:38:32 UTC (rev 17231)
+++ trunk/blender/source/gameengine/PyDoc/SConscript	2008-10-30 18:56:20 UTC (rev 17232)
@@ -23,6 +23,6 @@
     optvalues["names"] = names
     optparser = OptionParser()
     optparser.set_defaults(**optvalues)
-    (options, args) = optparser.parse_args()
+    (options, args) = optparser.parse_args([])
     cli.write_html(docindex, options)
 





More information about the Bf-blender-cvs mailing list