| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Main functions for the Layout Test Analyzer module.""" | 6 """Main functions for the Layout Test Analyzer module.""" |
| 7 | 7 |
| 8 import csv | 8 import csv |
| 9 from datetime import datetime | 9 from datetime import datetime |
| 10 import optparse | 10 import optparse |
| 11 import os | 11 import os |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 # Report the result to dashboard. | 485 # Report the result to dashboard. |
| 486 if options.dashboard_file_location: | 486 if options.dashboard_file_location: |
| 487 UpdateDashboard(options.dashboard_file_location, options.test_group_name, | 487 UpdateDashboard(options.dashboard_file_location, options.test_group_name, |
| 488 data_map, layouttests.DEFAULT_LAYOUTTEST_LOCATION, rev, | 488 data_map, layouttests.DEFAULT_LAYOUTTEST_LOCATION, rev, |
| 489 rev_date, options.receiver_email_address, | 489 rev_date, options.receiver_email_address, |
| 490 email_content) | 490 email_content) |
| 491 | 491 |
| 492 | 492 |
| 493 if '__main__' == __name__: | 493 if '__main__' == __name__: |
| 494 main() | 494 main() |
| OLD | NEW |