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

Unified Diff: commit_queue.py

Issue 8749005: Silence pylint on Mac OSX 10.6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 1 month 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 | « no previous file | my_reviews.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: commit_queue.py
diff --git a/commit_queue.py b/commit_queue.py
index 3f4e7b68deeaae892d02a59f4a28831d98ee2429..d23cbd1ac4c0492c423957528a29ef5c0f59fe7a 100755
--- a/commit_queue.py
+++ b/commit_queue.py
@@ -110,7 +110,8 @@ def gen_parser():
"""
parser = optparse.OptionParser(version=__version__)
# Remove description formatting
- parser.format_description = lambda x: parser.description
+ parser.format_description = (
+ lambda _: parser.description) # pylint: disable=E1101
# Add common parsing.
old_parser_args = parser.parse_args
« no previous file with comments | « no previous file | my_reviews.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698