Skip to content

Commit ed71206

Browse files
committed
修正切换scons版本(比如最新的4.3.0)后,编译时在"scons: Reading SConscript files ..."后打印出"b''"的问题
1 parent a0fadd4 commit ed71206

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)