Commit d5991890 authored by Eugene Zemtsov's avatar Eugene Zemtsov Committed by Chromium LUCI CQ

web_tests: Fixing python3 discovery bug on my win machine

Change-Id: If0dfc3446fd697b950cb6db270fa85a52c90b63d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2626969Reviewed-by: default avatarStephen McGruer <smcgruer@chromium.org>
Commit-Queue: Eugene Zemtsov <eugene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#843743}
parent c0dd4e06
...@@ -185,7 +185,7 @@ class WinPort(base.Port): ...@@ -185,7 +185,7 @@ class WinPort(base.Port):
try: try:
self._executive.run_command([python, '--version']) self._executive.run_command([python, '--version'])
return python return python
except WindowsError: except:
pass pass
raise WindowsError('Unable to find a valid python3 command name') raise WindowsError('Unable to find a valid python3 command name')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment