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

Side by Side Diff: infra/bots/assets/skimage/create_and_upload.py

Issue 2155163002: Convert SK Images to new assets format (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove more stuff Created 4 years, 5 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
« no previous file with comments | « infra/bots/assets/skimage/create.py ('k') | infra/bots/assets/skimage/download.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2016 Google Inc. 3 # Copyright 2016 Google Inc.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 8
9 """Create the asset and upload it.""" 9 """Create the asset and upload it."""
10 10
(...skipping 22 matching lines...) Expand all
33 if args.gsutil: 33 if args.gsutil:
34 cmd.extend(['--gsutil', args.gsutil]) 34 cmd.extend(['--gsutil', args.gsutil])
35 subprocess.check_call(cmd) 35 subprocess.check_call(cmd)
36 except subprocess.CalledProcessError: 36 except subprocess.CalledProcessError:
37 # Trap exceptions to avoid printing two stacktraces. 37 # Trap exceptions to avoid printing two stacktraces.
38 sys.exit(1) 38 sys.exit(1)
39 39
40 40
41 if __name__ == '__main__': 41 if __name__ == '__main__':
42 main() 42 main()
OLDNEW
« no previous file with comments | « infra/bots/assets/skimage/create.py ('k') | infra/bots/assets/skimage/download.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698