Skip to content

Commit 8dcea75

Browse files
authored
Merge pull request #660 from furlongm/https-mirrorlists
recognize https mirrors in mirrorlists
2 parents 803a0bf + fdeea13 commit 8dcea75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repos/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def get_mirrorlist_urls(url):
226226
data = download_url(res, 'Downloading repo info:')
227227
if data is None:
228228
return
229-
mirror_urls = re.findall('^http://.*$|^ftp://.*$',
229+
mirror_urls = re.findall('^http[s]*://.*$|^ftp://.*$',
230230
data.decode('utf-8'), re.MULTILINE)
231231
if mirror_urls:
232232
return mirror_urls

0 commit comments

Comments
 (0)