| OLD | NEW | 
|---|
| 1 #!/usr/bin/python | 1 #!/usr/bin/env python | 
| 2 # Copyright (c) 2010 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 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  # pylint: disable=W0611 | 12 import breakpad  # pylint: disable=W0611 | 
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 551 | 551 | 
| 552   if options.local and (options.revert or options.branch): | 552   if options.local and (options.revert or options.branch): | 
| 553     option_parser.error("--local cannot be used with --revert or --branch") | 553     option_parser.error("--local cannot be used with --revert or --branch") | 
| 554     return 1 | 554     return 1 | 
| 555 | 555 | 
| 556   return drover(options, args) | 556   return drover(options, args) | 
| 557 | 557 | 
| 558 | 558 | 
| 559 if __name__ == "__main__": | 559 if __name__ == "__main__": | 
| 560   sys.exit(main()) | 560   sys.exit(main()) | 
| OLD | NEW | 
|---|