Index: tools/build_command_buffer.py |
diff --git a/tools/build_command_buffer.py b/tools/build_command_buffer.py |
index 88748d678921885d923f4ef3b4725ccb1c3fc000..ee325878d446a4e7ee053464f6de4ed3029fced7 100755 |
--- a/tools/build_command_buffer.py |
+++ b/tools/build_command_buffer.py |
@@ -114,14 +114,13 @@ def main(): |
sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode, |
error.cmd, chrome_src_dir)) |
- try: |
- subprocess.check_call(['git', 'checkout', args.chrome_revision], |
- cwd=chrome_src_dir) |
- except subprocess.CalledProcessError as error: |
- sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode, |
- error.cmd, chrome_src_dir)) |
+ try: |
+ subprocess.check_call(['git', 'checkout', args.chrome_revision], |
+ cwd=chrome_src_dir) |
+ except subprocess.CalledProcessError as error: |
+ sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode, |
+ error.cmd, chrome_src_dir)) |
- if not args.no_sync: |
try: |
os.environ['GYP_GENERATORS'] = 'ninja' |
subprocess.check_call([gclient, 'sync', '--reset', '--force'], |