| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2012 The LUCI Authors. All rights reserved. | 2 # Copyright 2012 The LUCI Authors. All rights reserved. |
| 3 # Use of this source code is governed by the Apache v2.0 license that can be | 3 # Use of this source code is governed under the Apache License, Version 2.0 |
| 4 # found in the LICENSE file. | 4 # that can be found in the LICENSE file. |
| 5 | 5 |
| 6 import cStringIO | 6 import cStringIO |
| 7 import hashlib | 7 import hashlib |
| 8 import json | 8 import json |
| 9 import logging | 9 import logging |
| 10 import os | 10 import os |
| 11 import re | 11 import re |
| 12 import stat | 12 import stat |
| 13 import subprocess | 13 import subprocess |
| 14 import sys | 14 import sys |
| (...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 # Move the .isolate file aside and rerun the command with the new source but | 1062 # Move the .isolate file aside and rerun the command with the new source but |
| 1063 # same destination. | 1063 # same destination. |
| 1064 b_isolate = os.path.join(self.tempdir, 'b.isolate') | 1064 b_isolate = os.path.join(self.tempdir, 'b.isolate') |
| 1065 os.rename(a_isolate, b_isolate) | 1065 os.rename(a_isolate, b_isolate) |
| 1066 subprocess.check_call(cmd + ['-i', b_isolate], cwd=ROOT_DIR) | 1066 subprocess.check_call(cmd + ['-i', b_isolate], cwd=ROOT_DIR) |
| 1067 | 1067 |
| 1068 | 1068 |
| 1069 if __name__ == '__main__': | 1069 if __name__ == '__main__': |
| 1070 fix_encoding.fix_encoding() | 1070 fix_encoding.fix_encoding() |
| 1071 test_utils.main() | 1071 test_utils.main() |
| OLD | NEW |