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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/formatter/main_unittest.py

Issue 2580293002: Style change: Rename error variables "e" -> "error" (Closed)
Patch Set: Rebase and fix formatter unittest. Created 4 years 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/formatter/main_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/formatter/main_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/formatter/main_unittest.py
index aab51288c6e39db91dc26df9b741f2043549707b..65abcec402b06f63137019911ac5e9a341f57966 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/formatter/main_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/formatter/main_unittest.py
@@ -16,7 +16,7 @@ def foo():
bar = "bar"
long_list = ['this is a list of strings that should be wrapped', "and consistently quoted"]
longer_list = ['this is a list of strings that should be wrapped', "and consistently quoted", "because it's important to test quoting"]
- except Exception, e:
+ except Exception, error:
pass
'''
@@ -31,7 +31,7 @@ def foo():
'this is a list of strings that should be wrapped',
'and consistently quoted',
"because it's important to test quoting"]
- except Exception as e:
+ except Exception as error:
pass
'''
@@ -48,7 +48,7 @@ def foo():
'this is a list of strings that should be wrapped',
'and consistently quoted',
"because it's important to test quoting"]
- except Exception as e:
+ except Exception as error:
pass
'''
@@ -59,7 +59,7 @@ def foo():
bar = "bar"
long_list = ["this is a list of strings that should be wrapped", "and consistently quoted"]
longer_list = ["this is a list of strings that should be wrapped", "and consistently quoted", "because it's important to test quoting"]
- except Exception, e:
+ except Exception, error:
pass
'''

Powered by Google App Engine
This is Rietveld 408576698