Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """This file contains printing-related functionality of the bisect.""" | 5 """This file contains printing-related functionality of the bisect.""" |
| 6 | 6 |
| 7 import datetime | 7 import datetime |
| 8 import re | 8 import re |
| 9 | 9 |
| 10 from bisect_results import BisectResults | 10 from bisect_results import BisectResults |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 30 RESULTS_REVISION_INFO = """ | 30 RESULTS_REVISION_INFO = """ |
| 31 ===== SUSPECTED CL(s) ===== | 31 ===== SUSPECTED CL(s) ===== |
| 32 Subject : %(subject)s | 32 Subject : %(subject)s |
| 33 Author : %(author)s%(commit_info)s | 33 Author : %(author)s%(commit_info)s |
| 34 Commit : %(cl)s | 34 Commit : %(cl)s |
| 35 Date : %(cl_date)s""" | 35 Date : %(cl_date)s""" |
| 36 | 36 |
| 37 RESULTS_THANKYOU = """ | 37 RESULTS_THANKYOU = """ |
| 38 | O O | Visit http://www.chromium.org/developers/core-principles for Chrome's | 38 | O O | Visit http://www.chromium.org/developers/core-principles for Chrome's |
| 39 | X | policy on perf regressions. Contact chrome-perf-dashboard-team with any | 39 | X | policy on perf regressions. Contact chrome-perf-dashboard-team with any |
| 40 | / \ | questions or suggestions about bisecting. THANK YOU.""" | 40 | / \\ | questions or suggestions about bisecting. THANK YOU.""" |
|
Sergiy Byelozyorov
2014/10/30 11:42:45
Another tooth? Please align face boundaries :-).
qyearsley
2014/10/30 16:46:04
This is actually the same as before -- """\ """ is
| |
| 41 | 41 |
| 42 REPRO_STEPS_LOCAL = """ | 42 REPRO_STEPS_LOCAL = """ |
| 43 ==== INSTRUCTIONS TO REPRODUCE ==== | 43 ==== INSTRUCTIONS TO REPRODUCE ==== |
| 44 To run locally: | 44 To run locally: |
| 45 - Use the test command given under 'BISECT JOB RESULTS' above. | 45 - Use the test command given under 'BISECT JOB RESULTS' above. |
| 46 - Consider using a profiler. Pass --profiler=list to list available profilers. | 46 - Consider using a profiler. Pass --profiler=list to list available profilers. |
| 47 """ | 47 """ |
| 48 | 48 |
| 49 REPRO_STEPS_TRYJOB = """ | 49 REPRO_STEPS_TRYJOB = """ |
| 50 To reproduce on a performance try bot: | 50 To reproduce on a performance try bot: |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 379 | 379 |
| 380 @staticmethod | 380 @staticmethod |
| 381 def _PrintWarnings(warnings): | 381 def _PrintWarnings(warnings): |
| 382 """Prints a list of warning strings if there are any.""" | 382 """Prints a list of warning strings if there are any.""" |
| 383 if not warnings: | 383 if not warnings: |
| 384 return | 384 return |
| 385 print | 385 print |
| 386 print 'WARNINGS:' | 386 print 'WARNINGS:' |
| 387 for w in set(warnings): | 387 for w in set(warnings): |
| 388 print ' ! %s' % w | 388 print ' ! %s' % w |
| OLD | NEW |