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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 src = os.path.join(outputDir, outputBasename) | 173 src = os.path.join(outputDir, outputBasename) |
174 dst = os.path.join(thisOutputDir, outputBasename) | 174 dst = os.path.join(thisOutputDir, outputBasename) |
175 shutil.copyfile(src, dst) | 175 shutil.copyfile(src, dst) |
176 os.unlink(src) | 176 os.unlink(src) |
177 | 177 |
178 return returnCode | 178 return returnCode |
179 | 179 |
180 | 180 |
181 if __name__ == '__main__': | 181 if __name__ == '__main__': |
182 sys.exit(main(sys.argv)) | 182 sys.exit(main(sys.argv)) |
OLD | NEW |