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

Unified Diff: tools/dom/scripts/multiemitter.py

Issue 18541003: Catch IOError instead of OSError (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months 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/dom/scripts/multiemitter.py
diff --git a/tools/dom/scripts/multiemitter.py b/tools/dom/scripts/multiemitter.py
index 53989958a524cceac4f5760b866e0813abfb108b..3f1e12cda2672ec0c2b69ff105a932c9a5b36bcc 100644
--- a/tools/dom/scripts/multiemitter.py
+++ b/tools/dom/scripts/multiemitter.py
@@ -88,7 +88,7 @@ def _WriteFile(path, lines):
f = open(path, 'w')
f.writelines(lines)
f.close()
- except OSError as error:
+ except IOError as error:
# FIXME(kustermann): Remove this later on.
# We try to get more debugging information to figure out why we sometimes
# get a "Permission denied" error when opening the file for writing.
« 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