4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 06:53:29 +08:00

!467 修正切换scons版本(比如最新的4.3.0)后,编译时在"scons: Reading SConscript files ..."后打印出"b''的问题

Merge pull request !467 from 李润聪/gitee_master
This commit is contained in:
bernard 2022-03-09 09:01:04 +00:00 committed by Gitee
commit 50f7aa2d3f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -113,7 +113,7 @@ def GCCResult(rtconfig, str):
stdout, stderr = child.communicate() stdout, stderr = child.communicate()
# print(stdout) # print(stdout)
if stderr != '': if stderr != '' and stderr != b'':
print(stderr) print(stderr)
have_fdset = 0 have_fdset = 0