| 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)
|
|
|
|
|
|
|