Commit 68a2062e authored by thakis@chromium.org's avatar thakis@chromium.org

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
parent 8fc361fe
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment