| OLD | NEW | 
|---|
| 1 #!/usr/bin/python | 1 #!/usr/bin/python | 
| 2 # | 2 # | 
| 3 # Copyright (C) 2009 Google Inc. All rights reserved. | 3 # Copyright (C) 2009 Google Inc. 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. | 
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 115     # Do it. check_call is new in 2.5, so simulate its behavior with call and | 115     # Do it. check_call is new in 2.5, so simulate its behavior with call and | 
| 116     # assert. | 116     # assert. | 
| 117     returnCode = subprocess.call(command) | 117     returnCode = subprocess.call(command) | 
| 118     assert returnCode == 0 | 118     assert returnCode == 0 | 
| 119 | 119 | 
| 120     return returnCode | 120     return returnCode | 
| 121 | 121 | 
| 122 | 122 | 
| 123 if __name__ == '__main__': | 123 if __name__ == '__main__': | 
| 124     sys.exit(main(sys.argv)) | 124     sys.exit(main(sys.argv)) | 
| OLD | NEW | 
|---|