diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-02 19:19:09 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-02 19:19:09 +0000 |
commit | 68a2062ed7c9d66d3a0bf9f46cea60377abad060 (patch) | |
tree | 38ce28f9cf3195d91f79401248f7631942ecffb0 /tools | |
parent | 8fc361fe2093dd50d4a6aadf3af368dd1ca703c8 (diff) | |
download | chromium_src-68a2062ed7c9d66d3a0bf9f46cea60377abad060.zip chromium_src-68a2062ed7c9d66d3a0bf9f46cea60377abad060.tar.gz chromium_src-68a2062ed7c9d66d3a0bf9f46cea60377abad060.tar.bz2 |
Fix gyp-explain.py if dump.json doesn't exist.
BUG=none
TEST=Run with no dump.json around.
Review URL: http://codereview.chromium.org/8770056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gyp-explain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gyp-explain.py b/tools/gyp-explain.py index def29df..9df68dd 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 |