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

Side by Side Diff: apply_issue.py

Issue 1687923002: Finally get rid of depot_tools' breakpad. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: add no-op breakpad.py 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | breakpad.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) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 """Applies an issue from Rietveld. 6 """Applies an issue from Rietveld.
7 """ 7 """
8 import getpass 8 import getpass
9 import json 9 import json
10 import logging 10 import logging
11 import optparse 11 import optparse
12 import os 12 import os
13 import subprocess 13 import subprocess
14 import sys 14 import sys
15 import urllib2 15 import urllib2
16 16
17 import breakpad # pylint: disable=W0611
18 17
19 import annotated_gclient 18 import annotated_gclient
20 import auth 19 import auth
21 import checkout 20 import checkout
22 import fix_encoding 21 import fix_encoding
23 import gclient_utils 22 import gclient_utils
24 import rietveld 23 import rietveld
25 import scm 24 import scm
26 25
27 BASE_DIR = os.path.dirname(os.path.abspath(__file__)) 26 BASE_DIR = os.path.dirname(os.path.abspath(__file__))
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 return RETURN_CODE_OK 316 return RETURN_CODE_OK
318 317
319 318
320 if __name__ == "__main__": 319 if __name__ == "__main__":
321 fix_encoding.fix_encoding() 320 fix_encoding.fix_encoding()
322 try: 321 try:
323 sys.exit(main()) 322 sys.exit(main())
324 except KeyboardInterrupt: 323 except KeyboardInterrupt:
325 sys.stderr.write('interrupted\n') 324 sys.stderr.write('interrupted\n')
326 sys.exit(RETURN_CODE_OTHER_FAILURE) 325 sys.exit(RETURN_CODE_OTHER_FAILURE)
OLDNEW
« no previous file with comments | « no previous file | breakpad.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698