Revert an accidental change of functionality that was breaking file listings, originally done for linting purposes in commit 3767fb0.
This commit is contained in:
1 parent
1e75763f77
commit
d6d5eb85d6
1 file changed
+1
-1
+1
-1
@@ -191,7 +191,7 @@ def walk(rel: PurePosixPath, stat: stat_result | None = None) -> list[FileEntry]
|
||||
if isfile:
|
||||
return [entry]
|
||||
# Walk all entries of the directory
|
||||
ret: list[FileEntry] = []
|
||||
ret: list[FileEntry] = [...] # type: ignore[assignment]
|
||||
li = []
|
||||
for f in path.iterdir():
|
||||
if stop_event.is_set():
|
||||
|
||||
Reference in new issue
Block a user