Chromium Code Reviews| Index: build/android/pylib/utils/run_tests_helper.py |
| diff --git a/build/android/pylib/utils/run_tests_helper.py b/build/android/pylib/utils/run_tests_helper.py |
| index fba0871c1c34356bd5cdb45b08a75ef4f7f1f33f..72468d0fa9f2f4dea4ee99b92769260b604109da 100644 |
| --- a/build/android/pylib/utils/run_tests_helper.py |
| +++ b/build/android/pylib/utils/run_tests_helper.py |
| @@ -26,8 +26,8 @@ class CustomFormatter(logging.Formatter): |
| msg = logging.Formatter.format(self, record) |
| if 'MainThread' in msg[:19]: |
| msg = msg.replace('MainThread', 'Main', 1) |
| - timediff = str(int(time.time() - self._creation_time)) |
| - return '%s %ss %s' % (record.levelname[0], timediff.rjust(4), msg) |
| + timediff = time.time() - self._creation_time |
| + return '%s %7.3fs %s' % (record.levelname[0], timediff, msg) |
|
jbudorick
2014/06/10 16:32:17
nit: %7.3f -> %8.3f to maintain the same second-va
|
| def SetLogLevel(verbose_count): |