Skip to content

Commit 50f7aa2

Browse files
BernardXionggitee-org
authored andcommitted
!467 修正切换scons版本(比如最新的4.3.0)后,编译时在"scons: Reading SConscript files ..."后打印出"b''的问题
Merge pull request !467 from 李润聪/gitee_master
2 parents a0fadd4 + ed71206 commit 50f7aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def checkAndGetResult(pattern, string):
113113
stdout, stderr = child.communicate()
114114

115115
# print(stdout)
116-
if stderr != '':
116+
if stderr != '' and stderr != b'':
117117
print(stderr)
118118

119119
have_fdset = 0

0 commit comments

Comments
 (0)