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

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

Issue 2130093003: Fix pylint warnings in webkitpy/common/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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 0abbdf77a55c2a0d9f1f66d9708f3e74d471b0fc..c161fdd6096c3d83da5c63f2abe1fdc8e13521fd 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,7 +29,11 @@
class MockWorkspace(object):
- def find_unused_filename(self, directory, name, extension, search_limit=10):
+ def __init__(self, *_):
+ self.zip_path = None
+ self.source_path = None
+
+ def find_unused_filename(self, directory, name, extension, **_):
return "%s/%s.%s" % (directory, name, extension)
def create_zip(self, zip_path, source_path):

Powered by Google App Engine
This is Rietveld 408576698