Commit 6a051695 authored by maruel@chromium.org's avatar maruel@chromium.org

Use check_call(), not check_output()

There is user interaction when the svn credential isn't cached. (Duh)

TBR=dpranke@chromium.org
BUG=
TEST=


Review URL: http://codereview.chromium.org/7864007

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@100462 0039d316-1c4b-4281-b951-d872f2087c98
parent 87e6d331
......@@ -401,10 +401,9 @@ def _SendChangeSVN(options):
if scm.SVN.AssertVersion("1.5")[0]:
command.append('--no-ignore')
subprocess2.check_output(
command, stdout=subprocess2.PIPE, stderr=subprocess2.STDOUT)
subprocess2.check_call(command)
except subprocess2.CalledProcessError, e:
raise NoTryServerAccess(' '.join(e.cmd) + '\nOuput:\n' + e.stdout)
raise NoTryServerAccess(str(e))
finally:
temp_file.close()
shutil.rmtree(temp_dir, True)
......
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