Sync download_tools.py with changes in gclient_utils module.
Bug: none Change-Id: I3eb0d995527742245639ea7f9bc59113184ea428 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/147861 Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28742}
This commit is contained in:
parent
9160b627d7
commit
916fda588e
@ -49,7 +49,8 @@ def main(directories):
|
||||
|
||||
# Perform download similar to how gclient hooks execute.
|
||||
try:
|
||||
gclient_utils.CheckCallAndFilterAndHeader(cmd, cwd=SRC_DIR, always=True)
|
||||
gclient_utils.CheckCallAndFilter(
|
||||
cmd, cwd=SRC_DIR, always_show_header=True)
|
||||
except (gclient_utils.Error, subprocess2.CalledProcessError) as e:
|
||||
print 'Error: %s' % str(e)
|
||||
return 2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user