diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-05 20:43:14 +0200 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-05 20:43:14 +0200 |
| commit | a47c7c977cb04fc0980449f7a26a82f8191b8255 (patch) | |
| tree | 6ed44cd2b1b0ee1a6cfc1a435b81a3b4abf790a8 /scripts | |
| parent | 810d4eb7132679712adee47cb26c632614f93413 (diff) | |
| download | psutil-a47c7c977cb04fc0980449f7a26a82f8191b8255.tar.gz | |
wimake: listdir() unicode so that also paths with funky names can be removed
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/internal/winmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py index e3ac1e28..0408b80c 100755 --- a/scripts/internal/winmake.py +++ b/scripts/internal/winmake.py @@ -158,7 +158,7 @@ def safe_rmtree(path): def recursive_rm(*patterns): """Recursively remove a file or matching a list of patterns.""" - for root, subdirs, subfiles in os.walk('.'): + for root, subdirs, subfiles in os.walk(u'.'): root = os.path.normpath(root) if root.startswith('.git/'): continue |
