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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/xml.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/style/checkers/xml.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/xml.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/xml.py
index ff4a4159f1a2377536c4bbea82dadb4e8fcc0563..90e8bed858e58d1eaed0ab33342fb51bc9fa52f7 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/xml.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/xml.py
@@ -41,5 +41,5 @@ class XMLChecker(object):
parser.Parse(line)
parser.Parse('\n')
parser.Parse('', True)
- except expat.ExpatError, error:
+ except expat.ExpatError as error:
self._handle_style_error(error.lineno, 'xml/syntax', 5, expat.ErrorString(error.code))

Powered by Google App Engine
This is Rietveld 408576698