# HG changeset patch # User Franz Glasner # Date 1737052317 -3600 # Node ID e5f6f4db9157cd26fd703da068c5f72beee4eb29 # Parent 938488f87b62a027365b0b48592b646b2c65ff92 Use the imported "scandir()" implementation instead always the "os.scandir" diff -r 938488f87b62 -r e5f6f4db9157 cutils/util/walk.py --- a/cutils/util/walk.py Thu Jan 16 19:05:17 2025 +0100 +++ b/cutils/util/walk.py Thu Jan 16 19:31:57 2025 +0100 @@ -157,7 +157,7 @@ def __init__(self, path): super(ScanDir, self).__init__() - self._scandir_it = os.scandir(path) + self._scandir_it = scandir(path) def __iter__(self): return self