mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-15 13:08:24 +08:00
[python3] 部分脚本从python2语法升级到python3
This commit is contained in:
@@ -85,7 +85,7 @@ class Folder(object):
|
||||
# TODO: take care of the unicode names
|
||||
for ent in os.listdir(u'.'):
|
||||
if os.path.isdir(ent):
|
||||
cwd = os.getcwdu()
|
||||
cwd = os.getcwd()
|
||||
d = Folder(ent)
|
||||
# depth-first
|
||||
os.chdir(os.path.join(cwd, ent))
|
||||
|
Reference in New Issue
Block a user