include checking symlinks

This commit is contained in:
Benjamin Chess
2016-01-15 12:50:04 -08:00
parent b00637beb5
commit a70abd04e7
3 changed files with 5 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ def get_files_matching(all_file_list_strategy):
if (
include_regex.search(filename) and
not exclude_regex.search(filename) and
os.path.exists(filename)
os.path.lexists(filename)
)
)
return wrapper