Tests: fix incorrect check for hidden dir
Copy-pasted mistake in tests and tools.
This commit is contained in:
@@ -100,10 +100,8 @@ def blend_list(mainpath):
|
||||
|
||||
def file_list(path, filename_check=None):
|
||||
for dirpath, dirnames, filenames in os.walk(path):
|
||||
|
||||
# skip '.svn'
|
||||
if dirpath.startswith("."):
|
||||
continue
|
||||
# skip '.git'
|
||||
dirnames[:] = [d for d in dirnames if not d.startswith(".")]
|
||||
|
||||
for filename in filenames:
|
||||
filepath = join(dirpath, filename)
|
||||
|
Reference in New Issue
Block a user