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

Unified Diff: build/util/lastchange.py

Issue 119211: Grab the correct element from the match group of the git regex. (Closed)
Patch Set: Created 11 years, 7 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: build/util/lastchange.py
diff --git a/build/util/lastchange.py b/build/util/lastchange.py
index 3bac7629cc505014d67dd8b84f20036dd826e1b7..583ca1a61112240813e3c63cf96e0f51aae619c2 100644
--- a/build/util/lastchange.py
+++ b/build/util/lastchange.py
@@ -54,7 +54,7 @@ def git_fetch_id():
git_re = re.compile('^\s*git-svn-id:\s+(\S+)@(\d+)', re.M)
m = git_re.search(p.stdout.read())
if m:
- id = m.group(1)
+ id = m.group(2)
return id
« 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