OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client 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 glob | 6 import glob |
7 import hashlib | 7 import hashlib |
8 import optparse | 8 import optparse |
9 import os | 9 import os |
10 import posixpath | 10 import posixpath |
11 import shutil | 11 import shutil |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 return -1 | 376 return -1 |
377 tar.Close() | 377 tar.Close() |
378 return 0 | 378 return 0 |
379 | 379 |
380 parser.error('Missing action c, t, or x.') | 380 parser.error('Missing action c, t, or x.') |
381 return -1 | 381 return -1 |
382 | 382 |
383 | 383 |
384 if __name__ == '__main__': | 384 if __name__ == '__main__': |
385 sys.exit(Main(sys.argv)) | 385 sys.exit(Main(sys.argv)) |
OLD | NEW |