Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mirrorselect:master commit in: mirrorselect/
Date: Tue, 31 May 2022 18:39:05
Message-Id: 1654019602.1d39a41a244b49b3e1fe1739eb8fdd2a01783877.dolsen@gentoo
1 commit: 1d39a41a244b49b3e1fe1739eb8fdd2a01783877
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 31 17:53:22 2022 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Tue May 31 17:53:22 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/mirrorselect.git/commit/?id=1d39a41a
7
8 configs.py: Add missing https:// to the re.compile
9
10 Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>
11
12 mirrorselect/configs.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/mirrorselect/configs.py b/mirrorselect/configs.py
16 index d72ddf3..6d901a8 100644
17 --- a/mirrorselect/configs.py
18 +++ b/mirrorselect/configs.py
19 @@ -165,7 +165,7 @@ def get_filesystem_mirrors(output, config_path):
20 lex = shlex.shlex(f, posix=True)
21 lex.wordchars = string.digits + letters + r"~!@#$%*_\:;?,./-+{}"
22 lex.quotes = "\"'"
23 - p = re.compile('rsync://|http://|ftp://', re.IGNORECASE)
24 + p = re.compile('rsync://|http://|https://|ftp://', re.IGNORECASE)
25 while 1:
26 key = get_token(lex)
27 #output.write('get_filesystem_mirrors(): processing key = %s\n' % key, 2)