depot_tools: Use gclient_utils.AskForData instead of raw_input.

gclient_utils.AskForData will use raw_input on Python 2 and input on Python 3.

Bug: 1063976
Change-Id: I93c059c4e4454d01787716b5a0a2641ad5253f53
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2116370
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Anthony Polito <apolito@google.com>
Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
Edward Lesmes
2020-03-23 21:21:14 +00:00
committed by LUCI CQ
parent 10d9c49f23
commit ae3586b538
11 changed files with 39 additions and 47 deletions

View File

@@ -26,10 +26,7 @@ $VerifiedPlatform linux-mips64 linux-mips64le linux-mipsle
'''
# Timeout for a test to be executed.
TEST_TIMEOUT_S = 180 # 3m
# Tests take longer on Windows.
if sys.platform.startswith('win'):
TEST_TIMEOUT_S = 330 # 5m 30s
TEST_TIMEOUT_S = 330 # 5m 30s