Skip to content

Commit

Permalink
disable pabotlib start when pabotlibhost set
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorpela committed Dec 4, 2024
1 parent 64521a0 commit 613e8e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pabot/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ def _parse_pabot_args(args): # type: (List[str]) -> Tuple[List[str], Dict[str,
value = value_args[arg_name](args[i + 1])
if arg_name == "shard":
pabot_args["shardindex"], pabot_args["shardcount"] = value
elif arg_name == "pabotlibhost":
pabot_args["pabotlib"] = False
pabot_args[arg_name] = value
else:
pabot_args[arg_name] = value
i += 2
Expand All @@ -188,6 +191,7 @@ def _parse_pabot_args(args): # type: (List[str]) -> Tuple[List[str], Dict[str,
raise DataError("Cannot use both --pabotlib and --no-pabotlib options together")

pabot_args["argumentfiles"] = argumentfiles

return remaining_args, pabot_args


Expand Down

0 comments on commit 613e8e2

Please sign in to comment.