Merge branch 'shadeslayer-master'

This commit is contained in:
Andrey Smirnov
2014-10-26 19:54:11 +03:00
+1 -1
View File
@@ -318,7 +318,7 @@ func DownloadTryCompression(downloader aptly.Downloader, url string, expectedChe
}
if err != nil {
if err1, ok := err.(*HTTPError); ok && err1.Code == 404 {
if err1, ok := err.(*HTTPError); ok && (err1.Code == 404 || err1.Code == 403) {
continue
}
return nil, nil, err