summaryrefslogtreecommitdiffstats
path: root/platform_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform_utils.py')
-rw-r--r--platform_utils.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/platform_utils.py b/platform_utils.py
index 2c48e622..d720a07e 100644
--- a/platform_utils.py
+++ b/platform_utils.py
@@ -193,10 +193,9 @@ def _walk_windows_impl(top, topdown, onerror, followlinks):
193 for name in dirs: 193 for name in dirs:
194 new_path = os.path.join(top, name) 194 new_path = os.path.join(top, name)
195 if followlinks or not islink(new_path): 195 if followlinks or not islink(new_path):
196 for x in _walk_windows_impl( 196 yield from _walk_windows_impl(
197 new_path, topdown, onerror, followlinks 197 new_path, topdown, onerror, followlinks
198 ): 198 )
199 yield x
200 if not topdown: 199 if not topdown:
201 yield top, dirs, nondirs 200 yield top, dirs, nondirs
202 201