OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env python |
2 # Copyright 2009, Google Inc. | 2 # Copyright 2009, Google Inc. |
3 # All rights reserved. | 3 # All rights reserved. |
4 # | 4 # |
5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are |
7 # met: | 7 # met: |
8 # | 8 # |
9 # * Redistributions of source code must retain the above copyright | 9 # * Redistributions of source code must retain the above copyright |
10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. |
11 # * Redistributions in binary form must reproduce the above | 11 # * Redistributions in binary form must reproduce the above |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 if h is not None: | 59 if h is not None: |
60 h.close() | 60 h.close() |
61 print 70 * '-' | 61 print 70 * '-' |
62 dump_file_contents(argv[0]) | 62 dump_file_contents(argv[0]) |
63 dump_file_contents(argv[1]) | 63 dump_file_contents(argv[1]) |
64 command_tester.Print(command_tester.FailureMessage(0)) # bogus time | 64 command_tester.Print(command_tester.FailureMessage(0)) # bogus time |
65 return -1 | 65 return -1 |
66 | 66 |
67 if __name__ == '__main__': | 67 if __name__ == '__main__': |
68 sys.exit(main(sys.argv[1:])) | 68 sys.exit(main(sys.argv[1:])) |
OLD | NEW |