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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/dump_reader.py

Issue 2136793002: Remove all unused variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/layout_tests/breakpad/dump_reader.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/dump_reader.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/dump_reader.py
index 0728d8abb06b4ead1c5341cfb3688dd06a96286c..49828d6786979e4cb3930bb725e32757385ce0b8 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/dump_reader.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/dump_reader.py
@@ -60,7 +60,7 @@ class DumpReader(object):
return None
pid_to_minidump = dict()
- for root, dirs, files in self._host.filesystem.walk(self.crash_dumps_directory()):
+ for root, _, files in self._host.filesystem.walk(self.crash_dumps_directory()):
for dmp in [f for f in files if f.endswith(self._file_extension())]:
dmp_file = self._host.filesystem.join(root, dmp)
if self._host.filesystem.mtime(dmp_file) < start_time:
@@ -70,7 +70,7 @@ class DumpReader(object):
pid_to_minidump[pid] = dmp_file
result = dict()
- for test, process_name, pid in crashed_processes:
+ for test, _, pid in crashed_processes:
if str(pid) in pid_to_minidump:
stack = self._get_stack_from_dump(pid_to_minidump[str(pid)])
if stack:

Powered by Google App Engine
This is Rietveld 408576698