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

Issue 10187007: Update run_test_from_archive.py to handle 404 (Closed)

Created:
8 years, 8 months ago by csharp
Modified:
8 years, 8 months ago
CC:
chromium-reviews, pam+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Update run_test_from_archive.py to handle 404 Update run_test_from_archieve.py to check if a url is valid before downloading it to prevent grabbing files that are just 404s. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133709

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use retrieve to get data #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M tools/isolate/run_test_from_archive.py View 1 1 chunk +4 lines, -1 line 1 comment Download

Messages

Total messages: 6 (0 generated)
csharp
I've spent a little too much time hunting errors only to realize that the files ...
8 years, 8 months ago (2012-04-23 20:07:40 UTC) #1
Marc-Antoine Ruel (Google)
https://chromiumcodereview.appspot.com/10187007/diff/1/tools/isolate/run_test_from_archive.py File tools/isolate/run_test_from_archive.py (right): https://chromiumcodereview.appspot.com/10187007/diff/1/tools/isolate/run_test_from_archive.py#newcode120 tools/isolate/run_test_from_archive.py:120: remote_file = urllib.urlopen(file_or_url) I'd prefer to keep using urlretrieve(). ...
8 years, 8 months ago (2012-04-23 23:50:13 UTC) #2
csharp
https://chromiumcodereview.appspot.com/10187007/diff/5001/tools/isolate/run_test_from_archive.py File tools/isolate/run_test_from_archive.py (right): https://chromiumcodereview.appspot.com/10187007/diff/5001/tools/isolate/run_test_from_archive.py#newcode121 tools/isolate/run_test_from_archive.py:121: urllib.URLopener().retrieve(file_or_url, dest) I don't see any need to create ...
8 years, 8 months ago (2012-04-24 15:18:47 UTC) #3
M-A Ruel
lgtm
8 years, 8 months ago (2012-04-24 15:20:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10187007/5001
8 years, 8 months ago (2012-04-24 15:22:49 UTC) #5
commit-bot: I haz the power
8 years, 8 months ago (2012-04-24 17:00:53 UTC) #6
Change committed as 133709

Powered by Google App Engine
This is Rietveld 408576698