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

Unified Diff: tools/svndiff.py

Issue 26257002: Rebaseline Android Xoom and Nexus10 (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « expectations/gm/Test-Android-Xoom-Tegra2-Arm7-Release/expected-results.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/svndiff.py
diff --git a/tools/svndiff.py b/tools/svndiff.py
index 9e51eee22cd643244e924657e2dc68cff78a4fd5..1821d22e088cb7630bb4d01b6c6d0928a596e13e 100755
--- a/tools/svndiff.py
+++ b/tools/svndiff.py
@@ -147,10 +147,13 @@ def _CallJsonDiff(old_json_path, new_json_path,
imagename=imagename,
hash_type=gm_json.JSONKEY_HASHTYPE_BITMAP_64BITMD5,
hash_digest=old_checksum)
- _DownloadUrlToFile(
- source_url=old_image_url,
- dest_path=os.path.join(old_flattened_dir,
- filename_prefix + imagename))
+ try:
+ _DownloadUrlToFile(
+ source_url=old_image_url,
+ dest_path=os.path.join(old_flattened_dir,
+ filename_prefix + imagename))
+ except:
+ print "unable to find image ", os.path.join(old_flattened_dir, filename_prefix + imagename)
new_checksum = results['new']
if new_checksum:
« no previous file with comments | « expectations/gm/Test-Android-Xoom-Tegra2-Arm7-Release/expected-results.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698