Closed Bug 1258448 Opened 4 years ago Closed 4 years ago

Autophone - retry partial downloads

Categories

(Testing :: Autophone, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bc, Assigned: bc)

References

Details

Attachments

(1 file)

I see occasional download failures due to partial downloads from the cloudfront cdn. This patch adds a function to utils.py that wraps urllib.urlretrieve and retries the download if it fails due to a partial download.
Attachment #8732936 - Flags: review?(jmaher)
Comment on attachment 8732936 [details] [diff] [review]
partial-downloads.patch

Review of attachment 8732936 [details] [diff] [review]:
-----------------------------------------------------------------

this seems reasonable!  Too bad we cannot download from where we left off.
Attachment #8732936 - Flags: review?(jmaher) → review+
deployed 2016-03-23 06:30 PDT
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.