Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/api2_2x/doc/SConscript2
-rw-r--r--source/gameengine/PyDoc/SConscript2
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)