Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: tests/fake_repos.py

Issue 2910006: Fix for non English interface. (Closed)
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/fake_repos.py
diff --git a/tests/fake_repos.py b/tests/fake_repos.py
index 2ce6ea9195796c69cb0cd617cd818bc174174f2b..981bd91962a7110c31a64ddfde9109648d54649a 100755
--- a/tests/fake_repos.py
+++ b/tests/fake_repos.py
@@ -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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698