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

Side by Side Diff: apply_issue.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 | « 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
17 18
18 import annotated_gclient 19 import annotated_gclient
19 import auth 20 import auth
20 import checkout 21 import checkout
21 import fix_encoding 22 import fix_encoding
22 import gclient_utils 23 import gclient_utils
23 import rietveld 24 import rietveld
24 import scm 25 import scm
25 26
26 BASE_DIR = os.path.dirname(os.path.abspath(__file__)) 27 BASE_DIR = os.path.dirname(os.path.abspath(__file__))
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 return RETURN_CODE_OK 317 return RETURN_CODE_OK
317 318
318 319
319 if __name__ == "__main__": 320 if __name__ == "__main__":
320 fix_encoding.fix_encoding() 321 fix_encoding.fix_encoding()
321 try: 322 try:
322 sys.exit(main()) 323 sys.exit(main())
323 except KeyboardInterrupt: 324 except KeyboardInterrupt:
324 sys.stderr.write('interrupted\n') 325 sys.stderr.write('interrupted\n')
325 sys.exit(RETURN_CODE_OTHER_FAILURE) 326 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