diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-10-30 21:56:20 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-10-30 21:56:20 +0300 |
commit | dca18fc332f6b4e18e8cf826fd15db3fe321aafc (patch) | |
tree | be617a75140afcde2db22baa9dfa352d9a6248d0 /source | |
parent | 00f3021b68e0df21af4cbad8691fe91abd2d250c (diff) |
* 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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/doc/SConscript | 2 | ||||
-rw-r--r-- | source/gameengine/PyDoc/SConscript | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/doc/SConscript b/source/blender/python/api2_2x/doc/SConscript index 49d20894c58..eca5d9a615c 100644 --- a/source/blender/python/api2_2x/doc/SConscript +++ b/source/blender/python/api2_2x/doc/SConscript @@ -23,6 +23,6 @@ if epydoc: optvalues["names"] = names optparser = OptionParser() optparser.set_defaults(**optvalues) - (options, args) = optparser.parse_args() + (options, args) = optparser.parse_args([]) cli.write_html(docindex, options) diff --git a/source/gameengine/PyDoc/SConscript b/source/gameengine/PyDoc/SConscript index 3d1aa66bc69..ac0b163d7bd 100644 --- a/source/gameengine/PyDoc/SConscript +++ b/source/gameengine/PyDoc/SConscript @@ -23,6 +23,6 @@ if epydoc: optvalues["names"] = names optparser = OptionParser() optparser.set_defaults(**optvalues) - (options, args) = optparser.parse_args() + (options, args) = optparser.parse_args([]) cli.write_html(docindex, options) |