Index: third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py |
index 205e754a9c35baa7640009dd01ba793bd6d4c577..1a0ecab0165d6bb270d8d1ca32be7ed10cb8312a 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py |
@@ -31,6 +31,7 @@ from webkitpy.common import read_checksum_from_png |
from webkitpy.common.system.systemhost import SystemHost |
from webkitpy.common.checkout.scm.detection import SCMDetector |
+ |
class PNGChecker(object): |
"""Check svn:mime-type for checking style""" |
@@ -49,4 +50,5 @@ class PNGChecker(object): |
if self._fs.exists(self._file_path) and self._file_path.endswith("-expected.png"): |
with self._fs.open_binary_file_for_reading(self._file_path) as filehandle: |
if not read_checksum_from_png.read_checksum(filehandle): |
- self._handle_style_error(0, 'image/png', 5, "Image lacks a checksum. Generate pngs using run-webkit-tests to ensure they have a checksum.") |
+ self._handle_style_error( |
+ 0, 'image/png', 5, "Image lacks a checksum. Generate pngs using run-webkit-tests to ensure they have a checksum.") |