print location of the html report

Reviewed By: dulmarod

Differential Revision: D2600454

fb-gh-sync-id: 59bcc17
master
Jules Villard 9 years ago committed by facebook-github-bot-7
parent c68464bd29
commit 8c1979410a

@ -392,11 +392,14 @@ def generate_html_report(args, reports):
i += 1 i += 1
remote_source_template = get_remote_source_template() remote_source_template = get_remote_source_template()
with open(os.path.join(html_dir, 'index.html'), 'w') as bug_list_file: bug_list_path = os.path.join(html_dir, 'index.html')
with open(bug_list_path, 'w') as bug_list_file:
bug_list_file.write(html_list_of_bugs(args, bug_list_file.write(html_list_of_bugs(args,
remote_source_template, remote_source_template,
sel)) sel))
print('Saved html report in:\n%s' % bug_list_path)
def main(): def main():
args = base_parser.parse_args() args = base_parser.parse_args()

Loading…
Cancel
Save