Changeset 268772 in webkit
- Timestamp:
- Oct 20, 2020, 4:14:43 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/report-non-inclusive-language (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r268768 r268772 1 2020-10-20 Aakash Jain <aakash_jain@apple.com> 2 3 report-non-inclusive-language should do exact match for directory names to ignore 4 https://bugs.webkit.org/show_bug.cgi?id=217993 5 6 Reviewed by Darin Adler. 7 8 * Scripts/report-non-inclusive-language: 9 1 10 2020-10-20 Aakash Jain <aakash_jain@apple.com> 2 11 -
trunk/Tools/Scripts/report-non-inclusive-language
r268763 r268772 43 43 ] 44 44 45 IGNORE_DIRECTORIES _CONTAINING= ['.svn', '.git', 'autoinstalled']45 IGNORE_DIRECTORIES = ['.svn', '.git', 'autoinstalled'] 46 46 IGNORE_FILES_STARTING_WITH = ('ChangeLog') 47 47 IGNORE_FILES_ENDING_WITH = ('.log', '.order', '.pyc', '.swp', '.xcuserstate') … … 59 59 for subroot, directories, files in os.walk(root): 60 60 prefix = subroot[len(root) + 1:] 61 if any(directory in prefix for directory in IGNORE_DIRECTORIES_CONTAINING):61 if any(directory in prefix.split('/') for directory in IGNORE_DIRECTORIES): 62 62 continue 63 63 for file in files:
Note:
See TracChangeset
for help on using the changeset viewer.