Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: infra/bots/recipe_modules/core/resources/upload_dm_results.py

Issue 2198173002: Re-organize Skia recipes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix missing dependency Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium 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 """Upload DM output PNG files and JSON summary to Google Storage.""" 6 """Upload DM output PNG files and JSON summary to Google Storage."""
7 7
8 import datetime 8 import datetime
9 import json 9 import json
10 import os 10 import os
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 # Just for hygiene, put dm.json and verbose.log back. 90 # Just for hygiene, put dm.json and verbose.log back.
91 shutil.move(os.path.join(tmp, 'dm.json'), 91 shutil.move(os.path.join(tmp, 'dm.json'),
92 os.path.join(dm_dir, 'dm.json')) 92 os.path.join(dm_dir, 'dm.json'))
93 shutil.move(os.path.join(tmp, 'verbose.log'), 93 shutil.move(os.path.join(tmp, 'verbose.log'),
94 os.path.join(dm_dir, 'verbose.log')) 94 os.path.join(dm_dir, 'verbose.log'))
95 os.rmdir(tmp) 95 os.rmdir(tmp)
96 96
97 if '__main__' == __name__: 97 if '__main__' == __name__:
98 main(*sys.argv[1:]) 98 main(*sys.argv[1:])
OLDNEW
« no previous file with comments | « infra/bots/recipe_modules/core/resources/upload_bench_results.py ('k') | infra/bots/recipe_modules/core/ssh_devices.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698