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

Side by Side Diff: drover.py

Issue 4360002: Largely reduce the number of pylint warnings and fix one typo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: address comments Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome-update.py ('k') | gcl.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import optparse 6 import optparse
7 import os 7 import os
8 import re 8 import re
9 import subprocess 9 import subprocess
10 import sys 10 import sys
11 11
12 import breakpad 12 import breakpad # pylint: disable=W0611
13 13
14 import gclient_utils 14 import gclient_utils
15 15
16 USAGE = """ 16 USAGE = """
17 WARNING: Please use this tool in an empty directory 17 WARNING: Please use this tool in an empty directory
18 (or at least one that you don't mind clobbering.) 18 (or at least one that you don't mind clobbering.)
19 19
20 REQUIRES: SVN 1.5+ 20 REQUIRES: SVN 1.5+
21 NOTE: NO NEED TO CHECKOUT ANYTHING IN ADVANCE OF USING THIS TOOL." 21 NOTE: NO NEED TO CHECKOUT ANYTHING IN ADVANCE OF USING THIS TOOL."
22 Valid parameters: 22 Valid parameters:
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 552
553 if options.local and (options.revert or options.branch): 553 if options.local and (options.revert or options.branch):
554 option_parser.error("--local cannot be used with --revert or --branch") 554 option_parser.error("--local cannot be used with --revert or --branch")
555 return 1 555 return 1
556 556
557 return drover(options, args) 557 return drover(options, args)
558 558
559 559
560 if __name__ == "__main__": 560 if __name__ == "__main__":
561 sys.exit(main()) 561 sys.exit(main())
OLDNEW
« no previous file with comments | « chrome-update.py ('k') | gcl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698