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

Unified Diff: tools/gyp-explain.py

Issue 8770056: Fix gyp-explain.py if dump.json doesn't exist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fff Created 9 years 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/gyp-explain.py
diff --git a/tools/gyp-explain.py b/tools/gyp-explain.py
index def29df1f9f0d864b885d69814300cee680074c1..9df68dd8e5132deb521a829997d4eb5f044c0dd6 100755
--- a/tools/gyp-explain.py
+++ b/tools/gyp-explain.py
@@ -60,7 +60,7 @@ def Main(argv):
if file_age_s > 2 * 60 * 60:
print 'dump.json is more than 2 hours old.'
dump_json_dirty = True
- except IOError:
+ except OSError:
print 'dump.json not found.'
dump_json_dirty = 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