Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Unified Diff: tools/dev/v8gen.py

Issue 2467363002: v8gen.py: change file open mode from 'aw' to just 'a' (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698