Changeset 268890 in webkit
- Timestamp:
- Oct 22, 2020, 1:32:53 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/report-non-inclusive-language (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r268880 r268890 1 2020-10-22 Aakash Jain <aakash_jain@apple.com> 2 3 report-non-inclusive-language should also report total for all the non-inclusive terms 4 https://bugs.webkit.org/show_bug.cgi?id=218096 5 6 Reviewed by Darin Adler. 7 8 * Scripts/report-non-inclusive-language: Report total for all the non-inclusive terms. Also improved 9 formatting of the output to make it one-line. 10 1 11 2020-10-22 Aakash Jain <aakash_jain@apple.com> 2 12 -
trunk/Tools/Scripts/report-non-inclusive-language
r268772 r268890 79 79 term[2] = 0 80 80 81 for term in nonInclusiveTerms: 82 print("total " + term[0] + ": " + str(term[3])) 81 details = ['{}: {}'.format(term[0], term[3]) for term in nonInclusiveTerms] 82 total = sum([term[3] for term in nonInclusiveTerms]) 83 print('Total: {} ({})'.format(total, ', '.join(details)))
Note:
See TracChangeset
for help on using the changeset viewer.