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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/workspace_mock.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/workspace_mock.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/workspace_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/workspace_mock.py
index c161fdd6096c3d83da5c63f2abe1fdc8e13521fd..0abbdf77a55c2a0d9f1f66d9708f3e74d471b0fc 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/workspace_mock.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/workspace_mock.py
@@ -29,11 +29,7 @@
class MockWorkspace(object):
- def __init__(self, *_):
- self.zip_path = None
- self.source_path = None
-
- def find_unused_filename(self, directory, name, extension, **_):
+ def find_unused_filename(self, directory, name, extension, search_limit=10):
return "%s/%s.%s" % (directory, name, extension)
def create_zip(self, zip_path, source_path):

Powered by Google App Engine
This is Rietveld 408576698