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

Unified Diff: checkout.py

Issue 7215025: Replace OSError by the correct class IOError (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 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: checkout.py
diff --git a/checkout.py b/checkout.py
index 96289b3bb362ec083295bbb1d0428e1bbe439d77..a8fdcd2fce8c567ea96d46003302010d92e91b54 100644
--- a/checkout.py
+++ b/checkout.py
@@ -42,7 +42,7 @@ def get_code_review_setting(path, key,
settings[k.strip()] = v.strip()
finally:
settings_file.close()
- except OSError:
+ except IOError:
return None
return settings.get(key, None)
« 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