Bug 1845365 - Fixed logical error causing arguments without a - prefix to be checked as a sub_command, and then causing the actual command's virtualenv not to be selected r=ahal

Also added missing module `redo` to the `wpt` site.

Differential Revision: https://phabricator.services.mozilla.com/D184519
This commit is contained in:
ahochheiden 2023-07-25 23:09:11 +00:00
parent c91b7df85f
commit d8ef20cc4f
2 changed files with 2 additions and 3 deletions

View File

@ -350,9 +350,7 @@ class DetermineCommandVenvAction(argparse.Action):
if not command_dict:
return
if potential_sub_command_name and not potential_sub_command_name.startswith(
"-"
):
if potential_sub_command_name in module_dict:
all_sub_commands_dict = command_dict.get("subcommands", {})
if all_sub_commands_dict:

View File

@ -6,6 +6,7 @@ vendored:testing/web-platform/tests/tools/third_party/pywebsocket3
vendored:testing/web-platform/tests/tools/third_party/webencodings
vendored:testing/web-platform/tests/tools/wptrunner
vendored:testing/web-platform/tests/tools/wptserve
vendored:third_party/python/redo
pypi:tox==3.12.1
pypi:ujson==5.7.0
pypi:aioquic==0.9.19