Index: tools/dev/v8gen.py |
diff --git a/tools/dev/v8gen.py b/tools/dev/v8gen.py |
index f0fb74b7094608373c94beb88b0f48f0c9d5c995..b8a34e2af2b68910663b940bca1412f1a5d837c0 100755 |
--- a/tools/dev/v8gen.py |
+++ b/tools/dev/v8gen.py |
@@ -269,7 +269,7 @@ class GenerateGnArgs(object): |
# Artificially increment modification time as our modifications happen too |
# fast. This makes sure that gn is properly rebuilding the ninja files. |
mtime = os.path.getmtime(gn_args_path) + 1 |
- with open(gn_args_path, 'aw'): |
+ with open(gn_args_path, 'a'): |
os.utime(gn_args_path, (mtime, mtime)) |
return True |