| OLD | NEW | 
|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python | 
| 2 # Copyright 2015 The Chromium Authors. All rights reserved. | 2 # Copyright 2015 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 argparse | 6 import argparse | 
| 7 import json | 7 import json | 
| 8 import logging | 8 import logging | 
| 9 import os | 9 import os | 
| 10 import re | 10 import re | 
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 278         args = parser.parse_args() | 278         args = parser.parse_args() | 
| 279         pids = Pids.read_from(PID_FILE_PATH, PID_FILE_KEYS) | 279         pids = Pids.read_from(PID_FILE_PATH, PID_FILE_KEYS) | 
| 280         exit_code = args.func(args, pids) | 280         exit_code = args.func(args, pids) | 
| 281         # We could do this with an at-exit handler instead? | 281         # We could do this with an at-exit handler instead? | 
| 282         pids.write_to(PID_FILE_PATH) | 282         pids.write_to(PID_FILE_PATH) | 
| 283         sys.exit(exit_code) | 283         sys.exit(exit_code) | 
| 284 | 284 | 
| 285 | 285 | 
| 286 if __name__ == '__main__': | 286 if __name__ == '__main__': | 
| 287     SkyShellRunner().main() | 287     SkyShellRunner().main() | 
| OLD | NEW | 
|---|