Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3638446 commit 2e7296eCopy full SHA for 2e7296e
build_docs.py
@@ -433,7 +433,6 @@ def parse_args():
433
"-b",
434
"--branch",
435
metavar="3.6",
436
- type=float,
437
help="Version to build (defaults to all maintained branches).",
438
)
439
parser.add_argument(
@@ -514,7 +513,11 @@ def main():
514
513
logging.root.setLevel(logging.DEBUG)
515
venv = os.path.join(args.build_root, "venv")
516
if args.branch:
517
- branches_to_do = [(args.branch, str(args.branch), args.devel)]
+ branches_to_do = [
+ branch
518
+ for branch in BRANCHES
519
+ if str(branch[0]) == args.branch or branch[1] == args.branch
520
+ ]
521
else:
522
branches_to_do = BRANCHES
523
if not args.languages:
0 commit comments