Fixed build error handling using invalid Python syntax.

This commit is contained in:
James Durand 2013-04-29 11:18:05 -05:00
parent 784e23668b
commit a5cc807dcd

View file

@ -95,7 +95,7 @@ def run_command(command, cwd='.', verbose=True):
line = line.rstrip()
print(line)
if process.returncode:
self.logger.error("failed: %d", process.returncode)
print "failed: {0}".format(process.returncode)
return False
return True