Indicate the branch when generating stable checks

Changes from:
 Reviews for the last 120 days in stable
to:
 Reviews for the last 120 days in stable/liberty

Change-Id: I6adf3523b39a6621d657c569653bc605a7a911cc
This commit is contained in:
Tony Breeds 2016-04-06 14:14:49 +10:00
parent 67b5119896
commit 389cd27fae
1 changed files with 4 additions and 1 deletions

View File

@ -134,9 +134,12 @@ def write_pretty(reviewer_data, file_obj, options, reviewers, projects,
'Reviews for the last %d days in projects: %s\n' % 'Reviews for the last %d days in projects: %s\n' %
(options.days, [project['name'] for project in projects])) (options.days, [project['name'] for project in projects]))
else: else:
project_name = projects[0]['name']
if options.stable:
project_name = "stable/%s" % (options.stable)
file_obj.write( file_obj.write(
'Reviews for the last %d days in %s\n' 'Reviews for the last %d days in %s\n'
% (options.days, projects[0]['name'])) % (options.days, project_name))
if options.all: if options.all:
file_obj.write( file_obj.write(
'** -- Member of at least one core reviewer team\n') '** -- Member of at least one core reviewer team\n')