DescriptionDo not assume that all presubmit directories still exist.
In the case where a CL deletes the last file in the directory,
it is listed in the presubmit files list, but the directory to
which it refers will not exist, leading to os.listdir failing.
BUG=638343
Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/ff061c0d1d2d30909e201487cc72c106335ac3c6
Patch Set 1 #Patch Set 2 : Don't reassign |files| #
Total comments: 2
Patch Set 3 : wrap the whole loop in a try block instead. #
Total comments: 1
Created: 4 years, 4 months ago
Messages
Total messages: 12 (3 generated)
|