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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputtee.py

Issue 2248653002: Revert of Fix pylint warnings in webkitpy/common/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Manual Revert (Patch Set 1 causes patch failure in read_checksum_from_png_unittest.py) Created 4 years, 4 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/common/system/outputtee.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputtee.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputtee.py
index 66720ec0fc36b9ceb865e5409c5851de8de91cad..ef8e686acf39f8497cbb11f3123612c159cc8179 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputtee.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputtee.py
@@ -33,12 +33,12 @@ import sys
# Simple class to split output between multiple destinations
-class Tee(object):
+class Tee:
def __init__(self, *files):
self.files = files
# Callers should pass an already encoded string for writing.
- def write(self, bytes_to_write):
- for fh in self.files:
- fh.write(bytes_to_write)
+ def write(self, bytes):
+ for file in self.files:
+ file.write(bytes)

Powered by Google App Engine
This is Rietveld 408576698