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

Unified Diff: tools/auto_bisect/bisect_printer.py

Issue 671233003: Print author email address instead of author name under CL info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: tools/auto_bisect/bisect_printer.py
diff --git a/tools/auto_bisect/bisect_printer.py b/tools/auto_bisect/bisect_printer.py
index 455f6b7fad30dc375e608af0bc847e1d42491bf8..df90fde8a1d51c0f8d1eeb668380987bc9a85cfa 100644
--- a/tools/auto_bisect/bisect_printer.py
+++ b/tools/auto_bisect/bisect_printer.py
@@ -30,7 +30,7 @@ Estimated Confidence: %(confidence).02f%%"""
RESULTS_REVISION_INFO = """
===== SUSPECTED CL(s) =====
Subject : %(subject)s
-Author : %(author)s%(email_info)s%(commit_info)s
+Author : %(author)s%(commit_info)s
Commit : %(cl)s
Date : %(cl_date)s"""
@@ -180,9 +180,6 @@ class BisectPrinter(object):
return ''
def _PrintRevisionInfo(self, cl, info, depot=None):
- email_info = ''
- if not info['email'].startswith(info['author']):
- email_info = '\nEmail : %s' % info['email']
commit_link = self._GetViewVCLinkFromDepotAndHash(cl, depot)
if commit_link:
commit_info = '\nLink : %s' % commit_link
@@ -191,8 +188,7 @@ class BisectPrinter(object):
info['body'])
print RESULTS_REVISION_INFO % {
'subject': info['subject'],
- 'author': info['author'],
- 'email_info': email_info,
+ 'author': info['email'],
'commit_info': commit_info,
'cl': cl,
'cl_date': info['date']
« 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