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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/reflectionhandler.py

Issue 2019923002: Fix pylint unused-* warnings in webkitpy/tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/reflectionhandler.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/reflectionhandler.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/reflectionhandler.py
index 98c37a2a44cb99f66162af89fdf707d1e4ddfb22..c71b45b46f59c105518310532aa099bc5c639215 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/reflectionhandler.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/reflectionhandler.py
@@ -126,7 +126,7 @@ class ReflectionHandler(BaseHTTPServer.BaseHTTPRequestHandler):
self.send_response(200)
self._send_access_control_header()
self.send_header("Content-Length", os.path.getsize(file_path))
- mime_type, encoding = mimetypes.guess_type(file_path)
+ mime_type, _ = mimetypes.guess_type(file_path)
if mime_type:
self.send_header("Content-type", mime_type)
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698