mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Better handling of PlatformIO Storage Mirrors
This commit is contained in:
@ -103,7 +103,7 @@ class PackageManager(object):
|
||||
except (requests.exceptions.ConnectionError,
|
||||
requests.exceptions.ChunkedEncodingError,
|
||||
exception.FDUnrecognizedStatusCode, StopIteration):
|
||||
if info['url'].startswith("http://sourceforge.net"):
|
||||
if not info['url'].startswith("http://dl.platformio.org"):
|
||||
dlpath = self.download(
|
||||
"http://dl.platformio.org/packages/%s" %
|
||||
basename(info['url']), pkg_dir, info['sha1'])
|
||||
|
Reference in New Issue
Block a user