171
183
key.get_contents_to_filename(local_path.name)
176
log.Log("Download %s/%s failed (attempt #%d)" % (self.straight_url, remote_filename, n), 1)
178
196
log.Log("Giving up trying to download %s/%s after %d attempts" % (self.straight_url, remote_filename, globals.num_retries), 1)
179
197
raise BackendException("Error downloading %s/%s" % (self.straight_url, remote_filename))