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

Unified Diff: Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py

Issue 546133003: Reformat webkitpy.layout_tests w/ format-webkitpy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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: Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py b/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py
index 22516bf6f3f936701e306ed0d0824ded4605f3f2..deb98ca8b6809bc927be7ba52f744a93fe737323 100644
--- a/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py
+++ b/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py
@@ -7,7 +7,7 @@ import re
def result_contains_repaint_rects(text):
return isinstance(text, str) and (
- re.search('"repaintRects": \[$', text, re.MULTILINE) != None or
+ re.search('"repaintRects": \[$', text, re.MULTILINE) is not None or
text.find('Minimum repaint:') != -1)

Powered by Google App Engine
This is Rietveld 408576698