Include starting path in blacklist check but not whitelist.

master
voussoir 2021-06-04 13:06:10 -07:00
parent 1d555d20dc
commit b3e0b310c2
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 1 additions and 1 deletions

View File

@ -859,7 +859,7 @@ def walk(
# If for some reason the given starting directory is excluded by the
# exclude parameters.
if handle_exclusion(glob_directories, exclude_directories, path.basename, path.absolute_path):
if handle_exclusion(None, exclude_directories, path.basename, path.absolute_path):
return
# In the following loops, I found joining the os.sep with fstrings to be