Fix for non English interface.

TBR=bradnelson

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52064 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
maruel@chromium.org 15 years ago
parent 807c446de2
commit e5a71c9d4b

@ -169,7 +169,8 @@ def commit_svn(repo):
'--no-auth-cache', '--username', 'user1', '--password', 'foo'],
cwd=repo)
out, err = proc.communicate()
match = re.search(r'revision (\d+).', out)
last_line = out.splitlines()[-1]
match = re.search(r'(\d+)', out)
if not match:
raise Exception('Commit failed', out, err, proc.returncode)
rev = match.group(1)

Loading…
Cancel
Save