summaryrefslogtreecommitdiff
path: root/tools/fileslist_util.py
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2016-09-22 13:43:12 -0700
committer Chih-Hung Hsieh <chh@google.com> 2016-09-22 15:15:43 -0700
commit99459fc0d0a29ab96c5a3362d0ea9a30c0535b25 (patch)
tree1d2aa8a32a22625b8c1240b3dd8486ffeb5606c7 /tools/fileslist_util.py
parent52eafee87acaeab1b955b4979b7f91db6bc1c026 (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