[tools] Modify building.py and gcc.py for work with Python 3.

This commit is contained in:
ArdaFu
2018-11-07 13:40:41 +08:00
parent 3a63c0af56
commit e7ca31ccaa
2 changed files with 3 additions and 4 deletions

View File

@@ -806,7 +806,7 @@ def EndBuilding(target, program = None):
if not GetOption('help') and not GetOption('target'):
if not os.path.exists(rtconfig.EXEC_PATH):
print ("Error: the toolchain path ("+rtconfig.EXEC_PATH+") is not exist, please check 'EXEC_PATH' in path or rtconfig.py.")
print ("Error: the toolchain path (" + rtconfig.EXEC_PATH + ") is not exist, please check 'EXEC_PATH' in path or rtconfig.py.")
need_exit = True
if need_exit: