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

Side by Side Diff: commit_queue.py

Issue 1683173002: Revert of Finally get rid of depot_tools' breakpad. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « breakpad.py ('k') | drover.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/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 """Access the commit queue from the command line. 6 """Access the commit queue from the command line.
7 """ 7 """
8 8
9 __version__ = '0.1' 9 __version__ = '0.1'
10 10
11 import functools 11 import functools
12 import json 12 import json
13 import logging 13 import logging
14 import optparse 14 import optparse
15 import os 15 import os
16 import sys 16 import sys
17 import urllib2 17 import urllib2
18 18
19 import breakpad # pylint: disable=W0611
20
19 import auth 21 import auth
20 import fix_encoding 22 import fix_encoding
21 import rietveld 23 import rietveld
22 24
23 THIRD_PARTY_DIR = os.path.join(os.path.dirname(__file__), 'third_party') 25 THIRD_PARTY_DIR = os.path.join(os.path.dirname(__file__), 'third_party')
24 sys.path.insert(0, THIRD_PARTY_DIR) 26 sys.path.insert(0, THIRD_PARTY_DIR)
25 27
26 from cq_client import cq_pb2 28 from cq_client import cq_pb2
27 from protobuf26 import text_format 29 from protobuf26 import text_format
28 30
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 return CMDhelp(parser, args) 294 return CMDhelp(parser, args)
293 295
294 296
295 if __name__ == "__main__": 297 if __name__ == "__main__":
296 fix_encoding.fix_encoding() 298 fix_encoding.fix_encoding()
297 try: 299 try:
298 sys.exit(main()) 300 sys.exit(main())
299 except KeyboardInterrupt: 301 except KeyboardInterrupt:
300 sys.stderr.write('interrupted\n') 302 sys.stderr.write('interrupted\n')
301 sys.exit(1) 303 sys.exit(1)
OLDNEW
« no previous file with comments | « breakpad.py ('k') | drover.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698