Revert an accidental change of functionality that was breaking file listings, originally done for linting purposes in commit 3767fb0.

This commit is contained in:
Leo Vasanko
2026-04-27 04:00:14 +00:00
parent 1e75763f77
commit d6d5eb85d6
+1 -1
View File
@@ -191,7 +191,7 @@ def walk(rel: PurePosixPath, stat: stat_result | None = None) -> list[FileEntry]
if isfile: if isfile:
return [entry] return [entry]
# Walk all entries of the directory # Walk all entries of the directory
ret: list[FileEntry] = [] ret: list[FileEntry] = [...] # type: ignore[assignment]
li = [] li = []
for f in path.iterdir(): for f in path.iterdir():
if stop_event.is_set(): if stop_event.is_set():