summaryrefslogtreecommitdiffstats
path: root/platform_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform_utils.py')
-rw-r--r--platform_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform_utils.py b/platform_utils.py
index b2cc2459..8af25d21 100644
--- a/platform_utils.py
+++ b/platform_utils.py
@@ -313,7 +313,7 @@ def walk(top, topdown=True, onerror=None, followlinks=False):
313def _walk_windows_impl(top, topdown, onerror, followlinks): 313def _walk_windows_impl(top, topdown, onerror, followlinks):
314 try: 314 try:
315 names = listdir(top) 315 names = listdir(top)
316 except error, err: 316 except Exception as err:
317 if onerror is not None: 317 if onerror is not None:
318 onerror(err) 318 onerror(err)
319 return 319 return