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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs.py

Issue 2014063002: Run format-webkit on webkitpy code (without string conversion). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs.py
index b00998d308fc7d057ffa22a1418bc56888b13f17..058308462e90020789b5be18c3f3e4bb8b0f70bc 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs.py
@@ -63,10 +63,10 @@ class CrashLogs(object):
match = first_line_regex.match(f[0:f.find('\n')])
if match and match.group('process_name') == process_name and (pid is None or int(match.group('pid')) == pid):
return errors + f
- except IOError, e:
+ except IOError as e:
if include_errors:
errors += "ERROR: Failed to read '%s': %s\n" % (path, str(e))
- except OSError, e:
+ except OSError as e:
if include_errors:
errors += "ERROR: Failed to read '%s': %s\n" % (path, str(e))

Powered by Google App Engine
This is Rietveld 408576698