* 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.
This commit is contained in:
@@ -23,6 +23,6 @@ if epydoc:
|
|||||||
optvalues["names"] = names
|
optvalues["names"] = names
|
||||||
optparser = OptionParser()
|
optparser = OptionParser()
|
||||||
optparser.set_defaults(**optvalues)
|
optparser.set_defaults(**optvalues)
|
||||||
(options, args) = optparser.parse_args()
|
(options, args) = optparser.parse_args([])
|
||||||
cli.write_html(docindex, options)
|
cli.write_html(docindex, options)
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,6 @@ if epydoc:
|
|||||||
optvalues["names"] = names
|
optvalues["names"] = names
|
||||||
optparser = OptionParser()
|
optparser = OptionParser()
|
||||||
optparser.set_defaults(**optvalues)
|
optparser.set_defaults(**optvalues)
|
||||||
(options, args) = optparser.parse_args()
|
(options, args) = optparser.parse_args([])
|
||||||
cli.write_html(docindex, options)
|
cli.write_html(docindex, options)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user