diff options
| author | 2016-09-22 13:43:12 -0700 | |
|---|---|---|
| committer | 2016-09-22 15:15:43 -0700 | |
| commit | 99459fc0d0a29ab96c5a3362d0ea9a30c0535b25 (patch) | |
| tree | 1d2aa8a32a22625b8c1240b3dd8486ffeb5606c7 /tools/fileslist_util.py | |
| parent | 52eafee87acaeab1b955b4979b7f91db6bc1c026 (diff) | |
Simplify warn.py and output of warning count table and tablerow.
* Use a loop to initialize empty 'members' and 'option' of warnpatterns.
* Create severity.{color,columnheader,header} from an attributes list.
* Compute totalbyproject and totalbyseverity from a constructor.
* Skip all-zero rows and columns in the warning count table.
* Remove redundant spaces and newlines in tablerow output.
Test: run through build.log files
Change-Id: I4d3fa4ecd92e1afab91d85b7535d03f8696e83d8
Diffstat (limited to 'tools/fileslist_util.py')
0 files changed, 0 insertions, 0 deletions