diff options
| author | Meco Man <[email protected]> | 2021-03-16 17:06:03 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-03-16 17:06:03 +0800 |
| commit | b138082fcc3f21f441e200fedff65e6dcadcf0bb (patch) | |
| tree | c364aba11463544792284cf4351c96289e8eff5d /bsp/lpc43xx | |
| parent | c3ffe18688a3696a486855ae98002714546bd836 (diff) | |
[python3] 部分脚本从python2语法升级到python3
Diffstat (limited to 'bsp/lpc43xx')
| -rw-r--r-- | bsp/lpc43xx/M0/SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/lpc43xx/M0/SConstruct b/bsp/lpc43xx/M0/SConstruct index 3a52eb9a43..145b29d70f 100644 --- a/bsp/lpc43xx/M0/SConstruct +++ b/bsp/lpc43xx/M0/SConstruct @@ -35,12 +35,12 @@ if rtconfig.CROSS_TOOL == 'gcc': if sys.platform.startswith('linux'): import glob - ocwd = os.getcwdu() + ocwd = os.getcwd() res = os.system('cd ../Libraries/; find -name \*.o -exec rm {} \;') os.chdir(ocwd) else: # Assume Windows. - ocwd = os.getcwdu() + ocwd = os.getcwd() print('TODO: remove the object files in ../Libraries') os.chdir(ocwd) |
