Changeset 277476 in webkit
- Timestamp:
- May 13, 2021, 7:06:04 PM (5 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
r277465 r277476 1 2021-05-13 Aakash Jain <aakash_jain@apple.com> 2 3 report-non-inclusive-language should skip symlinks 4 https://bugs.webkit.org/show_bug.cgi?id=225789 5 6 Reviewed by Darin Adler. 7 8 * Scripts/report-non-inclusive-language: Skip symlinks since most likely the linked file would be checked 9 directly by the script while iterating the directory structure and would result in it being counted twice. 10 Also the script fails with an error if there is a symlink pointing to a non-existing file. 11 1 12 2021-05-13 Aakash Jain <aakash_jain@apple.com> 2 13 -
trunk/Tools/Scripts/report-non-inclusive-language
r276843 r277476 68 68 if file in IGNORE_FILE_NAMES: 69 69 continue 70 if os.path.islink(os.path.join(subroot, file)): 71 continue 70 72 handle = open(os.path.join(subroot, file), "r") 71 73 for line in handle.readlines():
Note:
See TracChangeset
for help on using the changeset viewer.