Include starting path in blacklist check but not whitelist.
This commit is contained in:
parent
1d555d20dc
commit
b3e0b310c2
1 changed files with 1 additions and 1 deletions
|
@ -859,7 +859,7 @@ def walk(
|
||||||
|
|
||||||
# If for some reason the given starting directory is excluded by the
|
# If for some reason the given starting directory is excluded by the
|
||||||
# exclude parameters.
|
# 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
|
return
|
||||||
|
|
||||||
# In the following loops, I found joining the os.sep with fstrings to be
|
# In the following loops, I found joining the os.sep with fstrings to be
|
||||||
|
|
Loading…
Reference in a new issue