| OLD | NEW | 
|---|
| 1 #!/usr/local/bin/python | 1 #!/usr/local/bin/python | 
|  | 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 
|  | 3 # Use of this source code is governed by a BSD-style license that can be | 
|  | 4 # found in the LICENSE file. | 
|  | 5 | 
| 2 import sys | 6 import sys | 
| 3 import re | 7 import re | 
| 4 import optparse | 8 import optparse | 
| 5 | 9 | 
| 6 import subcommand | 10 import subcommand | 
| 7 import subprocess2 | 11 import subprocess2 | 
| 8 | 12 | 
| 9 from git_common import run, stream | 13 from git_common import run, stream | 
| 10 | 14 | 
| 11 FREEZE = 'FREEZE' | 15 FREEZE = 'FREEZE' | 
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 64 | 68 | 
| 65 def main():  # pragma: no cover | 69 def main():  # pragma: no cover | 
| 66   dispatcher = subcommand.CommandDispatcher(__name__) | 70   dispatcher = subcommand.CommandDispatcher(__name__) | 
| 67   ret = dispatcher.execute(optparse.OptionParser(), sys.argv[1:]) | 71   ret = dispatcher.execute(optparse.OptionParser(), sys.argv[1:]) | 
| 68   if ret: | 72   if ret: | 
| 69     print ret | 73     print ret | 
| 70 | 74 | 
| 71 | 75 | 
| 72 if __name__ == '__main__':  # pragma: no cover | 76 if __name__ == '__main__':  # pragma: no cover | 
| 73   main() | 77   main() | 
| OLD | NEW | 
|---|